Class DifficultyCommand

java.lang.Object
net.minecraft.command.impl.DifficultyCommand

public class DifficultyCommand extends Object
  • Field Details

    • ERROR_ALREADY_DIFFICULT

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_ALREADY_DIFFICULT
  • Constructor Details

    • DifficultyCommand

      public DifficultyCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198344_0_)
    • setDifficulty

      public static int setDifficulty(CommandSource p_198345_0_, Difficulty p_198345_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException