Package net.minecraft.util.text
Class SelectorTextComponent
java.lang.Object
net.minecraft.util.text.TextComponent
net.minecraft.util.text.SelectorTextComponent
- All Implemented Interfaces:
com.mojang.brigadier.Message
,IFormattableTextComponent
,ITargetedTextComponent
,ITextComponent
,ITextProperties
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.text.ITextComponent
ITextComponent.Serializer
Nested classes/interfaces inherited from interface net.minecraft.util.text.ITextProperties
ITextProperties.IStyledTextAcceptor<T>, ITextProperties.ITextAcceptor<T>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.apache.logging.log4j.Logger
private final String
private final EntitySelector
Fields inherited from class net.minecraft.util.text.TextComponent
siblings
Fields inherited from interface net.minecraft.util.text.ITextProperties
EMPTY, STOP_ITERATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
resolve
(CommandSource p_230535_1_, Entity p_230535_2_, int p_230535_3_) toString()
Methods inherited from class net.minecraft.util.text.TextComponent
append, copy, getSiblings, getStyle, getVisualOrderText, hashCode, setStyle
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
pattern
-
selector
-
-
Constructor Details
-
SelectorTextComponent
-
-
Method Details
-
getPattern
-
resolve
public IFormattableTextComponent resolve(@Nullable CommandSource p_230535_1_, @Nullable Entity p_230535_2_, int p_230535_3_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
resolve
in interfaceITargetedTextComponent
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getContents
- Specified by:
getContents
in interfaceITextComponent
- Overrides:
getContents
in classTextComponent
-
plainCopy
- Specified by:
plainCopy
in interfaceITextComponent
- Specified by:
plainCopy
in classTextComponent
-
equals
- Overrides:
equals
in classTextComponent
-
toString
- Overrides:
toString
in classTextComponent
-