Package net.minecraft.server.commands
Class WorldBorderCommand
java.lang.Object
net.minecraft.server.commands.WorldBorderCommand
-
Field Summary
Modifier and TypeFieldDescriptionprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
getSize(CommandSourceStack p_139251_)
static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_139247_)
private static int
setCenter(CommandSourceStack p_139263_, Vec2 p_139264_)
private static int
setDamageAmount(CommandSourceStack p_139270_, float p_139271_)
private static int
setDamageBuffer(CommandSourceStack p_139257_, float p_139258_)
private static int
setSize(CommandSourceStack p_139253_, double p_139254_, long p_139255_)
private static int
setWarningDistance(CommandSourceStack p_139273_, int p_139274_)
private static int
setWarningTime(CommandSourceStack p_139260_, int p_139261_)
-
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(CommandSourceStack p_139257_, float p_139258_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
setDamageAmount
private static int setDamageAmount(CommandSourceStack p_139270_, float p_139271_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
setWarningTime
private static int setWarningTime(CommandSourceStack p_139260_, int p_139261_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
setWarningDistance
private static int setWarningDistance(CommandSourceStack p_139273_, int p_139274_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getSize
-
setCenter
private static int setCenter(CommandSourceStack p_139263_, Vec2 p_139264_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
setSize
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
-