Uses of Class
net.minecraft.command.arguments.EntitySelectorParser
Package
Description
-
Uses of EntitySelectorParser in net.minecraft.command.arguments
Modifier and TypeFieldDescriptionfinal Predicate<EntitySelectorParser>
EntityOptions.OptionHandler.predicate
Modifier and TypeMethodDescriptionstatic EntityOptions.IFilter
EntityOptions.get
(EntitySelectorParser p_202017_0_, String p_202017_1_, int p_202017_2_) void
EntityOptions.IFilter.handle
(EntitySelectorParser p_handle_1_) static void
EntityOptions.suggestNames
(EntitySelectorParser p_202049_0_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_202049_1_) Modifier and TypeMethodDescriptionstatic void
EntityOptions.register
(String p_202024_0_, EntityOptions.IFilter p_202024_1_, Predicate<EntitySelectorParser> p_202024_2_, ITextComponent p_202024_3_) ModifierConstructorDescriptionprivate
OptionHandler
(EntityOptions.IFilter p_i48717_1_, Predicate<EntitySelectorParser> p_i48717_2_, ITextComponent p_i48717_3_) -
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 inparseSelector()
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