public class SelectorTextComponent extends TextComponent implements ITargetedTextComponent
ITextComponent.Serializer
Modifier and Type | Field and Description |
---|---|
private EntitySelector |
field_197670_d |
private static org.apache.logging.log4j.Logger |
LOGGER |
private java.lang.String |
selector |
siblings
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, stream
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
appendText, applyTextStyle, applyTextStyle, applyTextStyles, copyWithoutSiblings, deepCopy, func_212637_f, getFormattedText, getString, getStringTruncated, iterator
private static final org.apache.logging.log4j.Logger LOGGER
private final java.lang.String selector
@Nullable private final EntitySelector field_197670_d
public 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 ITargetedTextComponent
com.mojang.brigadier.exceptions.CommandSyntaxException
public java.lang.String getUnformattedComponentText()
getUnformattedComponentText
in interface ITextComponent
public SelectorTextComponent shallowCopy()
shallowCopy
in interface ITextComponent
public boolean equals(java.lang.Object p_equals_1_)
equals
in class TextComponent
public java.lang.String toString()
toString
in class TextComponent