Uses of Class
net.minecraft.command.arguments.EntitySelectorParser
-
Packages that use EntitySelectorParser Package Description net.minecraft.command.arguments net.minecraftforge.common.command net.minecraftforge.debug.chat -
-
Uses of EntitySelectorParser in net.minecraft.command.arguments
Fields in net.minecraft.command.arguments with type parameters of type EntitySelectorParser Modifier and Type Field Description java.util.function.Predicate<EntitySelectorParser>
EntityOptions.OptionHandler. predicate
Methods in net.minecraft.command.arguments with parameters of type EntitySelectorParser Modifier and Type Method Description static EntityOptions.IFilter
EntityOptions. get(EntitySelectorParser p_202017_0_, java.lang.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_)
Method parameters in net.minecraft.command.arguments with type arguments of type EntitySelectorParser Modifier and Type Method Description static void
EntityOptions. register(java.lang.String p_202024_0_, EntityOptions.IFilter p_202024_1_, java.util.function.Predicate<EntitySelectorParser> p_202024_2_, ITextComponent p_202024_3_)
Constructor parameters in net.minecraft.command.arguments with type arguments of type EntitySelectorParser Constructor Description OptionHandler(EntityOptions.IFilter p_i48717_1_, java.util.function.Predicate<EntitySelectorParser> p_i48717_2_, ITextComponent p_i48717_3_)
-
Uses of EntitySelectorParser in net.minecraftforge.common.command
Methods in net.minecraftforge.common.command with parameters of type EntitySelectorParser Modifier and Type Method Description EntitySelector
IEntitySelectorType. 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
Methods in net.minecraftforge.debug.chat with parameters of type EntitySelectorParser Modifier and Type Method Description EntitySelector
EntitySelectorTest.ExampleCustomSelector. build(EntitySelectorParser parser)
private void
EntitySelectorTest. healthArgument(EntitySelectorParser parser)
Example for a custom selector argument, checks for the health of the entity
-