Uses of Class
net.minecraft.commands.arguments.selector.EntitySelector
Package
Description
-
Uses of EntitySelector in net.minecraft.commands.arguments
Modifier and TypeFieldDescriptionprivate final EntitySelector
GameProfileArgument.SelectorResult.selector
private final EntitySelector
MessageArgument.Part.selector
The field for theselector
record component.private final EntitySelector
ScoreHolderArgument.SelectorResult.selector
Modifier and TypeMethodDescriptionEntityArgument.parse
(com.mojang.brigadier.StringReader p_91451_) MessageArgument.Part.selector()
Returns the value of theselector
record component.ModifierConstructorDescriptionPart
(int start, int end, EntitySelector selector) Creates an instance of aPart
record class.SelectorResult
(EntitySelector p_94605_) SelectorResult
(EntitySelector p_108256_) -
Uses of EntitySelector in net.minecraft.commands.arguments.selector
Modifier and TypeMethodDescriptionEntitySelectorParser.getSelector()
EntitySelectorParser.parse()
-
Uses of EntitySelector in net.minecraft.network.chat.contents
Modifier and TypeFieldDescriptionprivate final EntitySelector
EntityDataSource.compiledSelector
The field for thecompiledSelector
record component.private final EntitySelector
ScoreContents.selector
private final EntitySelector
SelectorContents.selector
Modifier and TypeMethodDescriptionEntityDataSource.compiledSelector()
Returns the value of thecompiledSelector
record component.private static EntitySelector
EntityDataSource.compileSelector
(String p_237336_) ScoreContents.getSelector()
SelectorContents.getSelector()
private static EntitySelector
ScoreContents.parseSelector
(String p_237448_) private static EntitySelector
SelectorContents.parseSelector
(String p_237472_) ModifierConstructorDescriptionEntityDataSource
(String selectorPattern, EntitySelector compiledSelector) Creates an instance of aEntityDataSource
record class. -
Uses of EntitySelector in net.neoforged.neoforge.common.command
Modifier and TypeMethodDescriptionIEntitySelectorType.build
(EntitySelectorParser parser) Returns anEntitySelector
based on the givenEntitySelectorParser
.static EntitySelector
EntitySelectorManager.parseSelector
(EntitySelectorParser parser) This method is called inEntitySelectorParser.parse()
If the REGISTRY does not contain a custom selector for the command being parsed, this method returnsnull
and the vanilla logic inEntitySelectorParser#parseSelector()
is used. -
Uses of EntitySelector in net.neoforged.neoforge.oldtest.chat
Modifier and TypeMethodDescriptionEntitySelectorTest.ExampleCustomSelector.build
(EntitySelectorParser parser)