Package net.minecraft.network.chat
Class KeybindComponent
java.lang.Object
net.minecraft.network.chat.BaseComponent
net.minecraft.network.chat.KeybindComponent
- All Implemented Interfaces:
com.mojang.brigadier.Message
,Component
,FormattedText
,MutableComponent
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.network.chat.Component
Component.Serializer
Nested classes/interfaces inherited from interface net.minecraft.network.chat.FormattedText
FormattedText.ContentConsumer<T>, FormattedText.StyledContentConsumer<T>
-
Field Summary
Fields inherited from class net.minecraft.network.chat.BaseComponent
siblings
Fields inherited from interface net.minecraft.network.chat.FormattedText
EMPTY, STOP_ITERATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
private Component
static void
setKeyResolver
(Function<String, Supplier<Component>> p_130920_) toString()
<T> Optional<T>
visitSelf
(FormattedText.ContentConsumer<T> p_130922_) <T> Optional<T>
visitSelf
(FormattedText.StyledContentConsumer<T> p_130924_, Style p_130925_) Methods inherited from class net.minecraft.network.chat.BaseComponent
append, copy, getContents, getSiblings, getStyle, getVisualOrderText, hashCode, setStyle
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
keyResolver
-
name
-
nameResolver
-
-
Constructor Details
-
KeybindComponent
-
-
Method Details
-
setKeyResolver
-
getNestedComponent
-
visitSelf
-
visitSelf
-
plainCopy
- Specified by:
plainCopy
in interfaceComponent
- Specified by:
plainCopy
in classBaseComponent
-
equals
- Overrides:
equals
in classBaseComponent
-
toString
- Overrides:
toString
in classBaseComponent
-
getName
-