Class EntitySelectorTest


  • public class EntitySelectorTest
    extends java.lang.Object
    • Constructor Detail

      • EntitySelectorTest

        public EntitySelectorTest()
    • Method Detail

      • 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