Package net.minecraft.command.impl
Class WorldBorderCommand
java.lang.Object
net.minecraft.command.impl.WorldBorderCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate 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 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
-
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
-
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
-