public class SelectorTextComponent extends TextComponent implements ITargetedTextComponent
ITextComponent.Serializersiblings| Constructor and Description |
|---|
SelectorTextComponent(java.lang.String selectorIn) |
| Modifier and Type | Method and Description |
|---|---|
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() |
java.lang.String |
getUnformattedComponentText() |
SelectorTextComponent |
shallowCopy() |
java.lang.String |
toString() |
appendSibling, getSiblings, getStyle, hashCode, setStyle, streamclone, finalize, getClass, notify, notifyAll, wait, wait, waitappendText, 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 in interface ITargetedTextComponentcom.mojang.brigadier.exceptions.CommandSyntaxExceptionpublic java.lang.String getUnformattedComponentText()
getUnformattedComponentText in interface ITextComponentpublic SelectorTextComponent shallowCopy()
shallowCopy in interface ITextComponentpublic boolean equals(java.lang.Object p_equals_1_)
equals in class TextComponentpublic java.lang.String toString()
toString in class TextComponent