Uses of Class
net.minecraft.commands.arguments.selector.EntitySelector
Packages that use EntitySelector
Package
Description
-
Uses of EntitySelector in net.minecraft.commands.arguments
Fields in net.minecraft.commands.arguments declared as EntitySelectorModifier 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
Methods in net.minecraft.commands.arguments that return EntitySelectorModifier and TypeMethodDescriptionEntityArgument.parse
(com.mojang.brigadier.StringReader p_91451_) private EntitySelector
EntityArgument.parse
(com.mojang.brigadier.StringReader p_353134_, boolean p_353142_) <S> EntitySelector
EntityArgument.parse
(com.mojang.brigadier.StringReader p_353128_, S p_353120_) MessageArgument.Part.selector()
Returns the value of theselector
record component.Constructors in net.minecraft.commands.arguments with parameters of type EntitySelectorModifierConstructorDescriptionPart
(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
Fields in net.minecraft.commands.arguments.selector declared as EntitySelectorModifier and TypeFieldDescriptionprivate final EntitySelector
SelectorPattern.resolved
The field for theresolved
record component.Methods in net.minecraft.commands.arguments.selector that return EntitySelectorModifier and TypeMethodDescriptionEntitySelectorParser.getSelector()
EntitySelectorParser.parse()
SelectorPattern.resolved()
Returns the value of theresolved
record component.Constructors in net.minecraft.commands.arguments.selector with parameters of type EntitySelectorModifierConstructorDescriptionSelectorPattern
(String pattern, EntitySelector resolved) Creates an instance of aSelectorPattern
record class. -
Uses of EntitySelector in net.minecraft.network.chat.contents
Fields in net.minecraft.network.chat.contents declared as EntitySelectorModifier and TypeFieldDescriptionprivate final EntitySelector
EntityDataSource.compiledSelector
The field for thecompiledSelector
record component.Methods in net.minecraft.network.chat.contents that return EntitySelectorModifier and TypeMethodDescriptionEntityDataSource.compiledSelector()
Returns the value of thecompiledSelector
record component.private static EntitySelector
EntityDataSource.compileSelector
(String p_237336_) Constructors in net.minecraft.network.chat.contents with parameters of type EntitySelectorModifierConstructorDescriptionEntityDataSource
(String selectorPattern, EntitySelector compiledSelector) Creates an instance of aEntityDataSource
record class. -
Uses of EntitySelector in net.neoforged.neoforge.common.command
Methods in net.neoforged.neoforge.common.command that return EntitySelectorModifier 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.