public class TextComponentKeybind extends TextComponentBase
ITextComponent.Serializer| Modifier and Type | Field and Description |
|---|---|
private java.util.function.Supplier<java.lang.String> |
displaySupplier |
static java.util.function.Function<java.lang.String,java.util.function.Supplier<java.lang.String>> |
displaySupplierFunction |
private java.lang.String |
keybind |
siblings| Constructor and Description |
|---|
TextComponentKeybind(java.lang.String keybind) |
| Modifier and Type | Method and Description |
|---|---|
TextComponentKeybind |
createCopy() |
boolean |
equals(java.lang.Object p_equals_1_) |
java.lang.String |
getKeybind() |
java.lang.String |
getUnformattedComponentText() |
java.lang.String |
toString() |
appendSibling, appendText, createDeepCopyIterator, getFormattedText, getSiblings, getStyle, getUnformattedText, hashCode, iterator, setStylepublic static java.util.function.Function<java.lang.String,java.util.function.Supplier<java.lang.String>> displaySupplierFunction
private final java.lang.String keybind
private java.util.function.Supplier<java.lang.String> displaySupplier
public java.lang.String getUnformattedComponentText()
public TextComponentKeybind createCopy()
public boolean equals(java.lang.Object p_equals_1_)
equals in class TextComponentBasepublic java.lang.String toString()
toString in class TextComponentBasepublic java.lang.String getKeybind()