public class WorldBorderCommand extends Object
Modifier and Type | Field and Description |
---|---|
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
CENTER_FAILED_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
DAMAGE_AMOUNT_FAILED_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
DAMAGE_BUFFER_FAILED_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
SET_FAILED_BIG_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
SET_FAILED_NO_CHANGE_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
SET_FAILED_SMALL_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
WARNING_DISTANCE_FAILED_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
WARNING_TIME_FAILED_EXCEPTION |
Constructor and Description |
---|
WorldBorderCommand() |
Modifier and Type | Method and Description |
---|---|
private static int |
executeBuffer(ServerCommandSource source,
float distance) |
private static int |
executeCenter(ServerCommandSource source,
Vec2f pos) |
private static int |
executeDamage(ServerCommandSource source,
float damagePerBlock) |
private static int |
executeGet(ServerCommandSource source) |
private static int |
executeSet(ServerCommandSource source,
double distance,
long time) |
private static int |
executeWarningDistance(ServerCommandSource source,
int distance) |
private static int |
executeWarningTime(ServerCommandSource source,
int time) |
static void |
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) |
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType CENTER_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_FAILED_NO_CHANGE_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_FAILED_SMALL_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_FAILED_BIG_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType WARNING_TIME_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType WARNING_DISTANCE_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType DAMAGE_BUFFER_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType DAMAGE_AMOUNT_FAILED_EXCEPTION
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int executeBuffer(ServerCommandSource source, float distance) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
private static int executeDamage(ServerCommandSource source, float damagePerBlock) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
private static int executeWarningTime(ServerCommandSource source, int time) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
private static int executeWarningDistance(ServerCommandSource source, int distance) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
private static int executeGet(ServerCommandSource source)
private static int executeCenter(ServerCommandSource source, Vec2f pos) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
private static int executeSet(ServerCommandSource source, double distance, long time) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException