Package net.minecraft.server.command
Class ForceLoadCommand
java.lang.Object
net.minecraft.server.command.ForceLoadCommand
public class ForceLoadCommand extends Object
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ADDED_FAILURE_EXCEPTION
private static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
QUERY_FAILURE_EXCEPTION
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
REMOVED_FAILURE_EXCEPTION
private static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
TOO_BIG_EXCEPTION
-
Constructor Summary
Constructors Constructor Description ForceLoadCommand()
-
Method Summary
Modifier and Type Method Description private static int
executeChange(ServerCommandSource source, ColumnPos from, ColumnPos to, boolean forceLoaded)
private static int
executeQuery(ServerCommandSource source)
private static int
executeQuery(ServerCommandSource source, ColumnPos pos)
private static int
executeRemoveAll(ServerCommandSource source)
static void
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
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
-
executeRemoveAll
-
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
-