Package net.minecraft.network.chat
Class SelectorComponent
java.lang.Object
net.minecraft.network.chat.BaseComponent
net.minecraft.network.chat.SelectorComponent
- All Implemented Interfaces:
com.mojang.brigadier.Message
,Component
,ContextAwareComponent
,FormattedText
,MutableComponent
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.network.chat.Component
Component.Serializer
Nested classes/interfaces inherited from interface net.minecraft.network.chat.FormattedText
FormattedText.ContentConsumer<T>, FormattedText.StyledContentConsumer<T>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.logging.log4j.Logger
private String
private EntitySelector
Fields inherited from class net.minecraft.network.chat.BaseComponent
siblings
Fields inherited from interface net.minecraft.network.chat.FormattedText
EMPTY, STOP_ITERATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
resolve(CommandSourceStack p_131089_, Entity p_131090_, int p_131091_)
toString()
Methods inherited from class net.minecraft.network.chat.BaseComponent
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
-
separator
-
-
Constructor Details
-
SelectorComponent
-
-
Method Details
-
getPattern
-
getSelector
-
getSeparator
-
resolve
public MutableComponent resolve(@Nullable CommandSourceStack p_131089_, @Nullable Entity p_131090_, int p_131091_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Specified by:
resolve
in interfaceContextAwareComponent
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getContents
- Specified by:
getContents
in interfaceComponent
- Overrides:
getContents
in classBaseComponent
-
plainCopy
- Specified by:
plainCopy
in interfaceComponent
- Specified by:
plainCopy
in classBaseComponent
-
equals
- Overrides:
equals
in classBaseComponent
-
toString
- Overrides:
toString
in classBaseComponent
-