Class SelectorContents
java.lang.Object
net.minecraft.network.chat.contents.SelectorContents
- All Implemented Interfaces:
 ComponentContents
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerprivate final Stringprivate final EntitySelectorFields inherited from interface net.minecraft.network.chat.ComponentContents
EMPTY - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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
- 
LOGGER
private static final org.slf4j.Logger LOGGER - 
pattern
 - 
selector
 - 
separator
 
 - 
 - 
Constructor Details
- 
SelectorContents
 
 - 
 - 
Method Details
- 
parseSelector
 - 
getPattern
 - 
getSelector
 - 
getSeparator
 - 
resolve
public MutableComponent resolve(@Nullable CommandSourceStack p_237468_, @Nullable Entity p_237469_, int p_237470_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
 resolvein interfaceComponentContents- Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 - 
visit
- Specified by:
 visitin interfaceComponentContents
 - 
visit
- Specified by:
 visitin interfaceComponentContents
 - 
equals
 - 
hashCode
public int hashCode() - 
toString
 
 -