Package net.minecraftforge.debug.chat
Class EntitySelectorTest
- java.lang.Object
-
- net.minecraftforge.debug.chat.EntitySelectorTest
-
public class EntitySelectorTest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
EntitySelectorTest.ExampleCustomSelector
Example for a custom selector type, works like @r but for entities.
-
Constructor Summary
Constructors Constructor Description EntitySelectorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
healthArgument(EntitySelectorParser parser)
Example for a custom selector argument, checks for the health of the entityvoid
setup(FMLCommonSetupEvent event)
-
-
-
Method Detail
-
setup
public void setup(FMLCommonSetupEvent event)
-
healthArgument
private void healthArgument(EntitySelectorParser parser) throws com.mojang.brigadier.exceptions.CommandSyntaxException
Example for a custom selector argument, checks for the health of the entity- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
-