Package net.minecraftforge.debug.chat
Class EntitySelectorTest
java.lang.Object
net.minecraftforge.debug.chat.EntitySelectorTest
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
Example for a custom selector type, works like @r but for entities. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
healthArgument(EntitySelectorParser parser)
Example for a custom selector argument, checks for the health of the entityvoid
setup(FMLCommonSetupEvent event)
-
Constructor Details
-
EntitySelectorTest
public EntitySelectorTest()
-
-
Method Details
-
setup
-
healthArgument
private void healthArgument(EntitySelectorParser parser) throws com.mojang.brigadier.exceptions.CommandSyntaxExceptionExample for a custom selector argument, checks for the health of the entity- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-