net.minecraft.server.command

public class DifficultyCommand

net.minecraft.server.commands.DifficultyCommand
net.minecraft.server.commands.DifficultyCommand
net.minecraft.class_3036
net.minecraft.server.command.DifficultyCommand

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_ALREADY_SAME_DIFFICULTY
ERROR_ALREADY_SAME_DIFFICULTY
field_13602
FAILURE_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
method_13169(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
public static int
setDifficulty(CommandSourceStack source, Difficulty difficulty)
setDifficulty(CommandSourceStack source, Difficulty difficulty)
method_13173(class_2168 arg0, class_1267 arg1)
execute(ServerCommandSource source, Difficulty difficulty)