Package net.minecraft.server.command
Class WorldBorderCommand
java.lang.Object
net.minecraft.server.command.WorldBorderCommand
public class WorldBorderCommand extends Object
- Mappings:
Namespace Name official znintermediary net/minecraft/class_3158named net/minecraft/server/command/WorldBorderCommand
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeCENTER_FAILED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeDAMAGE_AMOUNT_FAILED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeDAMAGE_BUFFER_FAILED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeSET_FAILED_BIG_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeSET_FAILED_NO_CHANGE_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeSET_FAILED_SMALL_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeWARNING_DISTANCE_FAILED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeWARNING_TIME_FAILED_EXCEPTION -
Constructor Summary
Constructors Constructor Description WorldBorderCommand() -
Method Summary
Modifier and Type Method Description private static intexecuteBuffer(ServerCommandSource source, float distance)private static intexecuteCenter(ServerCommandSource source, Vec2f pos)private static intexecuteDamage(ServerCommandSource source, float damagePerBlock)private static intexecuteGet(ServerCommandSource source)private static intexecuteSet(ServerCommandSource source, double distance, long time)private static intexecuteWarningDistance(ServerCommandSource source, int distance)private static intexecuteWarningTime(ServerCommandSource source, int time)static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
CENTER_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType CENTER_FAILED_EXCEPTION- Mappings:
Namespace Name Mixin selector official aLzn;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13775Lnet/minecraft/class_3158;field_13775:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named CENTER_FAILED_EXCEPTIONLnet/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 bLzn;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13780Lnet/minecraft/class_3158;field_13780:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named SET_FAILED_NO_CHANGE_EXCEPTIONLnet/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 cLzn;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13776Lnet/minecraft/class_3158;field_13776:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named SET_FAILED_SMALL_EXCEPTIONLnet/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 dLzn;d:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13779Lnet/minecraft/class_3158;field_13779:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named SET_FAILED_BIG_EXCEPTIONLnet/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 eLzn;e:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13773Lnet/minecraft/class_3158;field_13773:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named WARNING_TIME_FAILED_EXCEPTIONLnet/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 fLzn;f:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13777Lnet/minecraft/class_3158;field_13777:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named WARNING_DISTANCE_FAILED_EXCEPTIONLnet/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 gLzn;g:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13778Lnet/minecraft/class_3158;field_13778:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named DAMAGE_BUFFER_FAILED_EXCEPTIONLnet/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 hLzn;h:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13774Lnet/minecraft/class_3158;field_13774:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named DAMAGE_AMOUNT_FAILED_EXCEPTIONLnet/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 aLzn;a(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13858Lnet/minecraft/class_3158;method_13858(Lcom/mojang/brigadier/CommandDispatcher;)Vnamed registerLnet/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 aLzn;a(Ldb;F)Iintermediary method_13865Lnet/minecraft/class_3158;method_13865(Lnet/minecraft/class_2168;F)Inamed executeBufferLnet/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 bLzn;b(Ldb;F)Iintermediary method_13863Lnet/minecraft/class_3158;method_13863(Lnet/minecraft/class_2168;F)Inamed executeDamageLnet/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 aLzn;a(Ldb;I)Iintermediary method_13856Lnet/minecraft/class_3158;method_13856(Lnet/minecraft/class_2168;I)Inamed executeWarningTimeLnet/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 bLzn;b(Ldb;I)Iintermediary method_13859Lnet/minecraft/class_3158;method_13859(Lnet/minecraft/class_2168;I)Inamed executeWarningDistanceLnet/minecraft/server/command/WorldBorderCommand;executeWarningDistance(Lnet/minecraft/server/command/ServerCommandSource;I)I
-
executeGet
- Mappings:
Namespace Name Mixin selector official aLzn;a(Ldb;)Iintermediary method_13868Lnet/minecraft/class_3158;method_13868(Lnet/minecraft/class_2168;)Inamed executeGetLnet/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 aLzn;a(Ldb;Ldit;)Iintermediary method_13869Lnet/minecraft/class_3158;method_13869(Lnet/minecraft/class_2168;Lnet/minecraft/class_241;)Inamed executeCenterLnet/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 aLzn;a(Ldb;DJ)Iintermediary method_13854Lnet/minecraft/class_3158;method_13854(Lnet/minecraft/class_2168;DJ)Inamed executeSetLnet/minecraft/server/command/WorldBorderCommand;executeSet(Lnet/minecraft/server/command/ServerCommandSource;DJ)I
-