public class KeybindTextComponent extends TextComponent
ITextComponent.Serializer
修飾子とタイプ | フィールドと説明 |
---|---|
static java.util.function.Function<java.lang.String,java.util.function.Supplier<java.lang.String>> |
displaySupplierFunction |
siblings
コンストラクタと説明 |
---|
KeybindTextComponent(java.lang.String keybind) |
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
equals(java.lang.Object p_equals_1_) |
java.lang.String |
getKeybind() |
java.lang.String |
getUnformattedComponentText()
Gets the raw content of this component (but not its sibling components), without any formatting codes.
|
KeybindTextComponent |
shallowCopy()
Creates a copy of this component.
|
java.lang.String |
toString() |
appendSibling, getSiblings, getStyle, hashCode, setStyle, stream
appendText, applyTextStyle, applyTextStyle, applyTextStyles, copyWithoutSiblings, deepCopy, func_212637_f, getFormattedText, getString, getStringTruncated, iterator
public static java.util.function.Function<java.lang.String,java.util.function.Supplier<java.lang.String>> displaySupplierFunction
public java.lang.String getUnformattedComponentText()
TextComponentString
, but it's the translated text for a TextComponentTranslation
and it's the score value for a TextComponentScore
.public KeybindTextComponent shallowCopy()
public boolean equals(java.lang.Object p_equals_1_)
equals
クラス内 TextComponent
public java.lang.String toString()
toString
クラス内 TextComponent
public java.lang.String getKeybind()