Uses of Record Class
net.minecraft.text.ParsedSelector
-
Uses of ParsedSelector in net.minecraft.text
Modifier and TypeFieldDescriptionprivate final ParsedSelector
SelectorTextContent.selector
The field for theselector
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ParsedSelector> ParsedSelector.CODEC
private final com.mojang.datafixers.util.Either
<ParsedSelector, String> ScoreTextContent.name
The field for thename
record component.Modifier and TypeMethodDescriptionSelectorTextContent.selector()
Returns the value of theselector
record component.Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either
<ParsedSelector, String> ScoreTextContent.name()
Returns the value of thename
record component.static com.mojang.serialization.DataResult
<ParsedSelector> Modifier and TypeMethodDescriptionstatic MutableText
Text.score
(ParsedSelector selector, String objective) static MutableText
Text.selector
(ParsedSelector selector, Optional<Text> separator) ModifierConstructorDescriptionSelectorTextContent
(ParsedSelector parsedSelector, Optional<Text> separator) ModifierConstructorDescriptionScoreTextContent
(com.mojang.datafixers.util.Either<ParsedSelector, String> either, String objective)