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 EntitySelectorGameProfileArgument.SelectorResult.selectorprivate final EntitySelectorMessageArgument.Part.selectorThe field for theselectorrecord component.private final EntitySelectorScoreHolderArgument.SelectorResult.selectorMethods in net.minecraft.commands.arguments that return EntitySelectorModifier and TypeMethodDescriptionEntityArgument.parse(com.mojang.brigadier.StringReader p_91451_) MessageArgument.Part.selector()Returns the value of theselectorrecord component.Constructors in net.minecraft.commands.arguments with parameters of type EntitySelectorModifierConstructorDescriptionPart(int start, int end, EntitySelector selector) Creates an instance of aPartrecord class.SelectorResult(EntitySelector p_94605_) SelectorResult(EntitySelector p_108256_) -
Uses of EntitySelector in net.minecraft.commands.arguments.selector
Methods in net.minecraft.commands.arguments.selector that return EntitySelectorModifier and TypeMethodDescriptionEntitySelectorParser.getSelector()EntitySelectorParser.parse() -
Uses of EntitySelector in net.minecraft.network.chat.contents
Fields in net.minecraft.network.chat.contents declared as EntitySelectorModifier and TypeFieldDescriptionprivate final EntitySelectorEntityDataSource.compiledSelectorThe field for thecompiledSelectorrecord component.private final EntitySelectorScoreContents.selectorprivate final EntitySelectorSelectorContents.selectorMethods in net.minecraft.network.chat.contents that return EntitySelectorModifier and TypeMethodDescriptionEntityDataSource.compiledSelector()Returns the value of thecompiledSelectorrecord component.private static EntitySelectorEntityDataSource.compileSelector(String p_237336_) ScoreContents.getSelector()SelectorContents.getSelector()private static EntitySelectorScoreContents.parseSelector(String p_237448_) private static EntitySelectorSelectorContents.parseSelector(String p_237472_) Constructors in net.minecraft.network.chat.contents with parameters of type EntitySelectorModifierConstructorDescriptionEntityDataSource(String selectorPattern, EntitySelector compiledSelector) Creates an instance of aEntityDataSourcerecord 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 anEntitySelectorbased on the givenEntitySelectorParser.static EntitySelectorEntitySelectorManager.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 returnsnulland the vanilla logic inEntitySelectorParser#parseSelector()is used. -
Uses of EntitySelector in net.neoforged.neoforge.oldtest.chat
Methods in net.neoforged.neoforge.oldtest.chat that return EntitySelectorModifier and TypeMethodDescriptionEntitySelectorTest.ExampleCustomSelector.build(EntitySelectorParser parser)