Class SaveAllCommand
java.lang.Object
net.minecraft.server.dedicated.command.SaveAllCommand
public class SaveAllCommand extends Object
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
FAILED_EXCEPTION
-
Constructor Summary
Constructors Constructor Description SaveAllCommand()
-
Method Summary
Modifier and Type Method Description static void
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int
saveAll(ServerCommandSource source, boolean flush)
-
Field Details
-
FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION
-
-
Constructor Details
-
SaveAllCommand
public SaveAllCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) -
saveAll
private static int saveAll(ServerCommandSource source, boolean flush) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-