public class SelectorTextComponent extends TextComponent implements ITargetedTextComponent
ITextComponent.Serializersiblings| コンストラクタと説明 |
|---|
SelectorTextComponent(java.lang.String selectorIn) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
ITextComponent |
createNames(CommandSource p_197668_1_,
Entity p_197668_2_,
int p_197668_3_) |
boolean |
equals(java.lang.Object p_equals_1_) |
java.lang.String |
getSelector()
Gets the selector of this component, in plain text.
|
java.lang.String |
getUnformattedComponentText()
Gets the raw content of this component (but not its sibling components), without any formatting codes.
|
SelectorTextComponent |
shallowCopy()
Creates a copy of this component.
|
java.lang.String |
toString() |
appendSibling, getSiblings, getStyle, hashCode, setStyle, streamappendText, applyTextStyle, applyTextStyle, applyTextStyles, copyWithoutSiblings, deepCopy, func_212637_f, getFormattedText, getString, getStringTruncated, iteratorpublic java.lang.String getSelector()
public ITextComponent createNames(@Nullable CommandSource p_197668_1_, @Nullable Entity p_197668_2_, int p_197668_3_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
createNames インタフェース内 ITargetedTextComponentcom.mojang.brigadier.exceptions.CommandSyntaxExceptionpublic java.lang.String getUnformattedComponentText()
TextComponentString, but it's the translated text for a TextComponentTranslation and it's the score value for a TextComponentScore.getUnformattedComponentText インタフェース内 ITextComponentpublic SelectorTextComponent shallowCopy()
shallowCopy インタフェース内 ITextComponentpublic boolean equals(java.lang.Object p_equals_1_)
equals クラス内 TextComponentpublic java.lang.String toString()
toString クラス内 TextComponent