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.SerializerNested classes/interfaces inherited from interface net.minecraft.network.chat.FormattedText
FormattedText.ContentConsumer<T>, FormattedText.StyledContentConsumer<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static org.apache.logging.log4j.Loggerprivate Stringprivate EntitySelectorFields inherited from class net.minecraft.network.chat.BaseComponent
siblingsFields inherited from interface net.minecraft.network.chat.FormattedText
EMPTY, STOP_ITERATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanresolve(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, setStyleMethods 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:
resolvein interfaceContextAwareComponent- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getContents
- Specified by:
getContentsin interfaceComponent- Overrides:
getContentsin classBaseComponent
-
plainCopy
- Specified by:
plainCopyin interfaceComponent- Specified by:
plainCopyin classBaseComponent
-
equals
- Overrides:
equalsin classBaseComponent
-
toString
- Overrides:
toStringin classBaseComponent
-