Package net.minecraft.server.commands
Class ForceLoadCommand
java.lang.Object
net.minecraft.server.commands.ForceLoadCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
private static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
changeForceLoad
(CommandSourceStack pSource, ColumnPos pFrom, ColumnPos pTo, boolean pAdd) private static int
listForceLoad
(CommandSourceStack pSource) private static int
queryForceLoad
(CommandSourceStack pSource, ColumnPos pPos) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137677_) private static int
removeAll
(CommandSourceStack pSource)
-
Field Details
-
MAX_CHUNK_LIMIT
private static final int MAX_CHUNK_LIMIT- See Also:
-
ERROR_TOO_MANY_CHUNKS
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType ERROR_TOO_MANY_CHUNKS -
ERROR_NOT_TICKING
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType ERROR_NOT_TICKING -
ERROR_ALL_ADDED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ALL_ADDED -
ERROR_NONE_REMOVED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NONE_REMOVED
-
-
Constructor Details
-
ForceLoadCommand
public ForceLoadCommand()
-
-
Method Details
-
register
-
queryForceLoad
private static int queryForceLoad(CommandSourceStack pSource, ColumnPos pPos) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
listForceLoad
-
removeAll
-
changeForceLoad
private static int changeForceLoad(CommandSourceStack pSource, ColumnPos pFrom, ColumnPos pTo, boolean pAdd) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-