Class CommandEntity.EntityListCommand

  • Enclosing class:
    CommandEntity

    private static class CommandEntity.EntityListCommand
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_DIMENSION  
      private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_FILTER  
      private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType NO_ENTITIES  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private EntityListCommand()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static int execute​(CommandSource sender, java.lang.String filter, RegistryKey<World> dim)  
      (package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,​?> register()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • INVALID_FILTER

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_FILTER
      • INVALID_DIMENSION

        private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_DIMENSION
      • NO_ENTITIES

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NO_ENTITIES
    • Constructor Detail

      • EntityListCommand

        private EntityListCommand()
    • Method Detail

      • register

        static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,​?> register()
      • execute

        private static int execute​(CommandSource sender,
                                   java.lang.String filter,
                                   RegistryKey<World> dim)
                            throws com.mojang.brigadier.exceptions.CommandSyntaxException
        Throws:
        com.mojang.brigadier.exceptions.CommandSyntaxException