Class ForceLoadCommand
java.lang.Object
net.minecraft.server.commands.ForceLoadCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final SimpleCommandExceptionTypeprivate static final SimpleCommandExceptionTypeprivate static final Dynamic2CommandExceptionTypeprivate static final Dynamic2CommandExceptionTypeprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static intchangeForceLoad(CommandSourceStack source, ColumnPos from, ColumnPos to, boolean add) private static intlistForceLoad(CommandSourceStack source) private static intqueryForceLoad(CommandSourceStack source, ColumnPos pos) static voidregister(CommandDispatcher<CommandSourceStack> dispatcher) private static intremoveAll(CommandSourceStack source)
-
Field Details
-
MAX_CHUNK_LIMIT
private static final int MAX_CHUNK_LIMIT- See Also:
-
ERROR_TOO_MANY_CHUNKS
-
ERROR_NOT_TICKING
-
ERROR_ALL_ADDED
-
ERROR_NONE_REMOVED
-
-
Constructor Details
-
ForceLoadCommand
public ForceLoadCommand()
-
-
Method Details
-
register
-
queryForceLoad
private static int queryForceLoad(CommandSourceStack source, ColumnPos pos) throws CommandSyntaxException - Throws:
CommandSyntaxException
-
listForceLoad
-
removeAll
-
changeForceLoad
private static int changeForceLoad(CommandSourceStack source, ColumnPos from, ColumnPos to, boolean add) throws CommandSyntaxException - Throws:
CommandSyntaxException
-