Package net.minecraft.command.impl
Class WorldBorderCommand
- java.lang.Object
-
- net.minecraft.command.impl.WorldBorderCommand
-
public class WorldBorderCommand extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeERROR_SAME_CENTERprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeERROR_SAME_DAMAGE_AMOUNTprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeERROR_SAME_DAMAGE_BUFFERprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeERROR_SAME_SIZEprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeERROR_SAME_WARNING_DISTANCEprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeERROR_SAME_WARNING_TIMEprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeERROR_TOO_BIGprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeERROR_TOO_SMALL
-
Constructor Summary
Constructors Constructor Description WorldBorderCommand()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static intgetSize(CommandSource p_198910_0_)static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198894_0_)private static intsetCenter(CommandSource p_198896_0_, Vector2f p_198896_1_)private static intsetDamageAmount(CommandSource p_198904_0_, float p_198904_1_)private static intsetDamageBuffer(CommandSource p_198898_0_, float p_198898_1_)private static intsetSize(CommandSource p_198895_0_, double p_198895_1_, long p_198895_3_)private static intsetWarningDistance(CommandSource p_198899_0_, int p_198899_1_)private static intsetWarningTime(CommandSource p_198902_0_, int p_198902_1_)
-
-
-
Field Detail
-
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
-
-
Method Detail
-
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
-
-