Class WorldBorderCommand

java.lang.Object
net.minecraft.server.commands.WorldBorderCommand

public class WorldBorderCommand extends Object
  • Field Details Link icon

    • ERROR_SAME_CENTER Link icon

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

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

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

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TOO_BIG
    • ERROR_TOO_FAR_OUT Link icon

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TOO_FAR_OUT
    • ERROR_SAME_WARNING_TIME Link icon

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

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

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

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

    • WorldBorderCommand Link icon

      public WorldBorderCommand()
  • Method Details Link icon

    • register Link icon

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_139247_)
    • setDamageBuffer Link icon

      private static int setDamageBuffer(CommandSourceStack p_139257_, float p_139258_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • setDamageAmount Link icon

      private static int setDamageAmount(CommandSourceStack p_139270_, float p_139271_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • setWarningTime Link icon

      private static int setWarningTime(CommandSourceStack p_139260_, int p_139261_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • setWarningDistance Link icon

      private static int setWarningDistance(CommandSourceStack p_139273_, int p_139274_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getSize Link icon

      private static int getSize(CommandSourceStack p_139251_)
    • setCenter Link icon

      private static int setCenter(CommandSourceStack p_139263_, Vec2 p_139264_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • setSize Link icon

      private static int setSize(CommandSourceStack p_139253_, double p_139254_, long p_139255_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException