Class WorldBorderCommand

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

public class WorldBorderCommand extends Object
  • Field Details

    • ERROR_SAME_CENTER

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_SAME_CENTER
    • ERROR_SAME_SIZE

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_SAME_SIZE
    • ERROR_TOO_SMALL

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TOO_SMALL
    • ERROR_TOO_BIG

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TOO_BIG
    • ERROR_SAME_WARNING_TIME

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_SAME_WARNING_TIME
    • ERROR_SAME_WARNING_DISTANCE

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_SAME_WARNING_DISTANCE
    • ERROR_SAME_DAMAGE_BUFFER

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_SAME_DAMAGE_BUFFER
    • ERROR_SAME_DAMAGE_AMOUNT

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_SAME_DAMAGE_AMOUNT
  • Constructor Details

    • WorldBorderCommand

      public WorldBorderCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198894_0_)
    • setDamageBuffer

      private static int setDamageBuffer(CommandSource p_198898_0_, float p_198898_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • setDamageAmount

      private static int setDamageAmount(CommandSource p_198904_0_, float p_198904_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • setWarningTime

      private static int setWarningTime(CommandSource p_198902_0_, int p_198902_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • setWarningDistance

      private static int setWarningDistance(CommandSource p_198899_0_, int p_198899_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getSize

      private static int getSize(CommandSource p_198910_0_)
    • setCenter

      private static int setCenter(CommandSource p_198896_0_, Vector2f p_198896_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • setSize

      private static int setSize(CommandSource p_198895_0_, double p_198895_1_, long p_198895_3_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException