Uses of Class
net.minecraft.commands.arguments.selector.EntitySelectorParser
Packages that use EntitySelectorParser
Package
Description
-
Uses of EntitySelectorParser in net.minecraft.commands.arguments.selector.options
Fields in net.minecraft.commands.arguments.selector.options with type parameters of type EntitySelectorParserModifier and TypeFieldDescriptionprivate final Predicate<EntitySelectorParser> EntitySelectorOptions.Option.canUseThe field for thecanUserecord component.Methods in net.minecraft.commands.arguments.selector.options that return types with arguments of type EntitySelectorParserModifier and TypeMethodDescriptionEntitySelectorOptions.Option.canUse()Returns the value of thecanUserecord component.Methods in net.minecraft.commands.arguments.selector.options with parameters of type EntitySelectorParserModifier and TypeMethodDescriptionEntitySelectorOptions.get(EntitySelectorParser p_121448_, String p_121449_, int p_121450_) voidEntitySelectorOptions.Modifier.handle(EntitySelectorParser p_121564_) static voidEntitySelectorOptions.suggestNames(EntitySelectorParser p_121441_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_121442_) Method parameters in net.minecraft.commands.arguments.selector.options with type arguments of type EntitySelectorParserModifier and TypeMethodDescriptionstatic voidEntitySelectorOptions.register(String p_121454_, EntitySelectorOptions.Modifier p_121455_, Predicate<EntitySelectorParser> p_121456_, Component p_121457_) Constructor parameters in net.minecraft.commands.arguments.selector.options with type arguments of type EntitySelectorParserModifierConstructorDescription(package private)Option(EntitySelectorOptions.Modifier modifier, Predicate<EntitySelectorParser> canUse, Component description) Creates an instance of aOptionrecord class. -
Uses of EntitySelectorParser in net.neoforged.neoforge.common.command
Methods in net.neoforged.neoforge.common.command with parameters of type EntitySelectorParserModifier and TypeMethodDescriptionIEntitySelectorType.build(EntitySelectorParser parser) Returns anEntitySelectorbased on the givenEntitySelectorParser.static EntitySelectorEntitySelectorManager.parseSelector(EntitySelectorParser parser) This method is called inparse()
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 EntitySelectorParser in net.neoforged.neoforge.oldtest.chat
Methods in net.neoforged.neoforge.oldtest.chat with parameters of type EntitySelectorParserModifier and TypeMethodDescriptionEntitySelectorTest.ExampleCustomSelector.build(EntitySelectorParser parser) private voidEntitySelectorTest.healthArgument(EntitySelectorParser parser) Example for a custom selector argument, checks for the health of the entity