Class WorldBorderCommand

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

public class WorldBorderCommand
extends Object
Mappings:
Namespace Name
official zn
intermediary net/minecraft/class_3158
named net/minecraft/server/command/WorldBorderCommand
  • Field Details

    • CENTER_FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType CENTER_FAILED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official a Lzn;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13775 Lnet/minecraft/class_3158;field_13775:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named CENTER_FAILED_EXCEPTION Lnet/minecraft/server/command/WorldBorderCommand;CENTER_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • SET_FAILED_NO_CHANGE_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_FAILED_NO_CHANGE_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official b Lzn;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13780 Lnet/minecraft/class_3158;field_13780:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named SET_FAILED_NO_CHANGE_EXCEPTION Lnet/minecraft/server/command/WorldBorderCommand;SET_FAILED_NO_CHANGE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • SET_FAILED_SMALL_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_FAILED_SMALL_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official c Lzn;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13776 Lnet/minecraft/class_3158;field_13776:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named SET_FAILED_SMALL_EXCEPTION Lnet/minecraft/server/command/WorldBorderCommand;SET_FAILED_SMALL_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • SET_FAILED_BIG_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_FAILED_BIG_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official d Lzn;d:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13779 Lnet/minecraft/class_3158;field_13779:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named SET_FAILED_BIG_EXCEPTION Lnet/minecraft/server/command/WorldBorderCommand;SET_FAILED_BIG_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • WARNING_TIME_FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType WARNING_TIME_FAILED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official e Lzn;e:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13773 Lnet/minecraft/class_3158;field_13773:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named WARNING_TIME_FAILED_EXCEPTION Lnet/minecraft/server/command/WorldBorderCommand;WARNING_TIME_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • WARNING_DISTANCE_FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType WARNING_DISTANCE_FAILED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official f Lzn;f:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13777 Lnet/minecraft/class_3158;field_13777:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named WARNING_DISTANCE_FAILED_EXCEPTION Lnet/minecraft/server/command/WorldBorderCommand;WARNING_DISTANCE_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • DAMAGE_BUFFER_FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType DAMAGE_BUFFER_FAILED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official g Lzn;g:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13778 Lnet/minecraft/class_3158;field_13778:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named DAMAGE_BUFFER_FAILED_EXCEPTION Lnet/minecraft/server/command/WorldBorderCommand;DAMAGE_BUFFER_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • DAMAGE_AMOUNT_FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType DAMAGE_AMOUNT_FAILED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official h Lzn;h:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13774 Lnet/minecraft/class_3158;field_13774:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named DAMAGE_AMOUNT_FAILED_EXCEPTION Lnet/minecraft/server/command/WorldBorderCommand;DAMAGE_AMOUNT_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
  • Constructor Details

    • WorldBorderCommand

      public WorldBorderCommand()
  • Method Details

    • register

      public static void register​(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      official a Lzn;a(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_13858 Lnet/minecraft/class_3158;method_13858(Lcom/mojang/brigadier/CommandDispatcher;)V
      named register Lnet/minecraft/server/command/WorldBorderCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
    • executeBuffer

      private static int executeBuffer​(ServerCommandSource source, float distance) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lzn;a(Ldb;F)I
      intermediary method_13865 Lnet/minecraft/class_3158;method_13865(Lnet/minecraft/class_2168;F)I
      named executeBuffer Lnet/minecraft/server/command/WorldBorderCommand;executeBuffer(Lnet/minecraft/server/command/ServerCommandSource;F)I
    • executeDamage

      private static int executeDamage​(ServerCommandSource source, float damagePerBlock) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official b Lzn;b(Ldb;F)I
      intermediary method_13863 Lnet/minecraft/class_3158;method_13863(Lnet/minecraft/class_2168;F)I
      named executeDamage Lnet/minecraft/server/command/WorldBorderCommand;executeDamage(Lnet/minecraft/server/command/ServerCommandSource;F)I
    • executeWarningTime

      private static int executeWarningTime​(ServerCommandSource source, int time) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lzn;a(Ldb;I)I
      intermediary method_13856 Lnet/minecraft/class_3158;method_13856(Lnet/minecraft/class_2168;I)I
      named executeWarningTime Lnet/minecraft/server/command/WorldBorderCommand;executeWarningTime(Lnet/minecraft/server/command/ServerCommandSource;I)I
    • executeWarningDistance

      private static int executeWarningDistance​(ServerCommandSource source, int distance) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official b Lzn;b(Ldb;I)I
      intermediary method_13859 Lnet/minecraft/class_3158;method_13859(Lnet/minecraft/class_2168;I)I
      named executeWarningDistance Lnet/minecraft/server/command/WorldBorderCommand;executeWarningDistance(Lnet/minecraft/server/command/ServerCommandSource;I)I
    • executeGet

      private static int executeGet​(ServerCommandSource source)
      Mappings:
      Namespace Name Mixin selector
      official a Lzn;a(Ldb;)I
      intermediary method_13868 Lnet/minecraft/class_3158;method_13868(Lnet/minecraft/class_2168;)I
      named executeGet Lnet/minecraft/server/command/WorldBorderCommand;executeGet(Lnet/minecraft/server/command/ServerCommandSource;)I
    • executeCenter

      private static int executeCenter​(ServerCommandSource source, Vec2f pos) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lzn;a(Ldb;Ldit;)I
      intermediary method_13869 Lnet/minecraft/class_3158;method_13869(Lnet/minecraft/class_2168;Lnet/minecraft/class_241;)I
      named executeCenter Lnet/minecraft/server/command/WorldBorderCommand;executeCenter(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/math/Vec2f;)I
    • executeSet

      private static int executeSet​(ServerCommandSource source, double distance, long time) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lzn;a(Ldb;DJ)I
      intermediary method_13854 Lnet/minecraft/class_3158;method_13854(Lnet/minecraft/class_2168;DJ)I
      named executeSet Lnet/minecraft/server/command/WorldBorderCommand;executeSet(Lnet/minecraft/server/command/ServerCommandSource;DJ)I