Uses of Class
net.minecraft.commands.arguments.selector.EntitySelectorParser
Package
Description
-
Uses of EntitySelectorParser in net.minecraft.commands.arguments.selector.options
Modifier and TypeMethodDescriptionEntitySelectorOptions.get(EntitySelectorParser p_121448_, String p_121449_, int p_121450_)
void
EntitySelectorOptions.Modifier.handle(EntitySelectorParser p_121564_)
static void
EntitySelectorOptions.suggestNames(EntitySelectorParser p_121441_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_121442_)
Modifier and TypeMethodDescriptionstatic void
EntitySelectorOptions.register(String p_121454_, EntitySelectorOptions.Modifier p_121455_, Predicate<EntitySelectorParser> p_121456_, Component p_121457_)
ModifierConstructorDescription(package private)
Option(EntitySelectorOptions.Modifier p_121569_, Predicate<EntitySelectorParser> p_121570_, Component p_121571_)
-
Uses of EntitySelectorParser in net.minecraftforge.common.command
Modifier and TypeMethodDescriptionIEntitySelectorType.build(EntitySelectorParser parser)
Returns anEntitySelector
based on the givenEntitySelectorParser
.static EntitySelector
EntitySelectorManager.parseSelector(EntitySelectorParser parser)
This method is called inparse()
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 EntitySelectorParser in net.minecraftforge.debug.chat
Modifier and TypeMethodDescriptionEntitySelectorTest.ExampleCustomSelector.build(EntitySelectorParser parser)
private void
EntitySelectorTest.healthArgument(EntitySelectorParser parser)
Example for a custom selector argument, checks for the health of the entity