Class EntityCommand.EntityListCommand

java.lang.Object
net.minecraftforge.server.command.EntityCommand.EntityListCommand
Enclosing class:
EntityCommand

private static class EntityCommand.EntityListCommand extends Object
  • Field Details

    • 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 Details

    • EntityListCommand

      private EntityListCommand()
  • Method Details

    • register

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

      private static int execute(CommandSourceStack sender, String filter, ResourceKey<Level> dim) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException