Class WardenSpawnTrackerCommand
java.lang.Object
net.minecraft.server.commands.WardenSpawnTrackerCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final CommandResponseTracker.Messages<ServerPlayer> private static final CommandResponseTracker.Messages<ServerPlayer> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) private static intresetTracker(CommandSourceStack source, Collection<ServerPlayer> players) private static intsetWarningLevel(CommandSourceStack source, Collection<ServerPlayer> players, int warningLevel)
-
Field Details
-
RESPONSE_SET_LEVEL
-
RESPONSE_RESET
-
-
Constructor Details
-
WardenSpawnTrackerCommand
public WardenSpawnTrackerCommand()
-
-
Method Details
-
register
-
setWarningLevel
private static int setWarningLevel(CommandSourceStack source, Collection<ServerPlayer> players, int warningLevel) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
resetTracker
private static int resetTracker(CommandSourceStack source, Collection<ServerPlayer> players) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-