Class ForceLoadCommand

java.lang.Object
net.minecraft.server.command.ForceLoadCommand

public class ForceLoadCommand
extends Object
  • Field Details

    • TOO_BIG_EXCEPTION

      private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType TOO_BIG_EXCEPTION
    • QUERY_FAILURE_EXCEPTION

      private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType QUERY_FAILURE_EXCEPTION
    • ADDED_FAILURE_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ADDED_FAILURE_EXCEPTION
    • REMOVED_FAILURE_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType REMOVED_FAILURE_EXCEPTION
  • Constructor Details

    • ForceLoadCommand

      public ForceLoadCommand()
  • Method Details

    • register

      public static void register​(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
    • executeQuery

      private static int executeQuery​(ServerCommandSource source, ColumnPos pos) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • executeQuery

      private static int executeQuery​(ServerCommandSource source)
    • executeRemoveAll

      private static int executeRemoveAll​(ServerCommandSource source)
    • executeChange

      private static int executeChange​(ServerCommandSource source, ColumnPos from, ColumnPos to, boolean forceLoaded) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException