Class SelectorContents
java.lang.Object
net.minecraft.network.chat.contents.SelectorContents
- All Implemented Interfaces:
- ComponentContents
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerprivate final Stringprivate final EntitySelectorFields inherited from interface net.minecraft.network.chat.ComponentContentsEMPTY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleaninthashCode()private static EntitySelectorparseSelector(String p_237472_) resolve(CommandSourceStack p_237468_, Entity p_237469_, int p_237470_) toString()<T> Optional<T>visit(FormattedText.ContentConsumer<T> p_237474_) <T> Optional<T>visit(FormattedText.StyledContentConsumer<T> p_237476_, Style p_237477_) 
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
pattern
- 
selector
- 
separator
 
- 
- 
Constructor Details- 
SelectorContents
 
- 
- 
Method Details- 
parseSelector
- 
getPattern
- 
getSelector
- 
getSeparator
- 
resolvepublic MutableComponent resolve(@Nullable CommandSourceStack p_237468_, @Nullable Entity p_237469_, int p_237470_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
- resolvein interface- ComponentContents
- Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
visit- Specified by:
- visitin interface- ComponentContents
 
- 
visit- Specified by:
- visitin interface- ComponentContents
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-