Interface KeybindComponent

All Superinterfaces:
Component, ComponentBuilderApplicable, ComponentLike, HoverEventSource<Component>, ScopedComponent<KeybindComponent>, StyleGetter, StyleSetter<Component>

public sealed interface KeybindComponent extends ScopedComponent<KeybindComponent>
A Component that displays the client's current keybind for the supplied action.

This component takes:

keybind
a keybind identifier for a action. (e.g key.inventory, key.jump etc..)
Since:
4.0.0
Since Minecraft:
1.12