net.minecraft.server.command

public class WorldBorderCommand

net.minecraft.server.commands.WorldBorderCommand
net.minecraft.server.commands.WorldBorderCommand
net.minecraft.class_3158
net.minecraft.server.command.WorldBorderCommand

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_SAME_CENTER
ERROR_SAME_CENTER
field_13775
CENTER_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_SAME_SIZE
ERROR_SAME_SIZE
field_13780
SET_FAILED_NO_CHANGE_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_TOO_SMALL
ERROR_TOO_SMALL
field_13776
SET_FAILED_SMALL_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_TOO_BIG
ERROR_TOO_BIG
field_13779
SET_FAILED_BIG_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_TOO_FAR_OUT
ERROR_TOO_FAR_OUT
field_36188
SET_FAILED_FAR_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_SAME_WARNING_TIME
ERROR_SAME_WARNING_TIME
field_13773
WARNING_TIME_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_SAME_WARNING_DISTANCE
ERROR_SAME_WARNING_DISTANCE
field_13777
WARNING_DISTANCE_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_SAME_DAMAGE_BUFFER
ERROR_SAME_DAMAGE_BUFFER
field_13778
DAMAGE_BUFFER_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_SAME_DAMAGE_AMOUNT
ERROR_SAME_DAMAGE_AMOUNT
field_13774
DAMAGE_AMOUNT_FAILED_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
method_13858(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int
setDamageBuffer(CommandSourceStack source, float distance)
setDamageBuffer(CommandSourceStack source, float distance)
method_13865(class_2168 arg0, float arg1)
executeBuffer(ServerCommandSource source, float distance)
private static int
setDamageAmount(CommandSourceStack source, float damagePerBlock)
setDamageAmount(CommandSourceStack source, float damagePerBlock)
method_13863(class_2168 arg0, float arg1)
executeDamage(ServerCommandSource source, float damagePerBlock)
private static int
setWarningTime(CommandSourceStack source, int ticks)
setWarningTime(CommandSourceStack source, int ticks)
method_13856(class_2168 arg0, int arg1)
executeWarningTime(ServerCommandSource source, int time)
private static int
setWarningDistance(CommandSourceStack source, int distance)
setWarningDistance(CommandSourceStack source, int distance)
method_13859(class_2168 arg0, int arg1)
executeWarningDistance(ServerCommandSource source, int distance)
private static int
getSize(CommandSourceStack source)
getSize(CommandSourceStack source)
method_13868(class_2168 arg0)
executeGet(ServerCommandSource source)
private static int
setCenter(CommandSourceStack source, Vec2 center)
setCenter(CommandSourceStack source, Vec2 center)
method_13869(class_2168 arg0, class_241 arg1)
executeCenter(ServerCommandSource source, Vec2f pos)
private static int
setSize(CommandSourceStack source, double distance, long ticks)
setSize(CommandSourceStack source, double distance, long ticks)
method_13854(class_2168 arg0, double arg1, long arg2)
executeSet(ServerCommandSource source, double distance, long time)
private static String
formatTicksToSeconds(long ticks)
formatTicksToSeconds(long ticks)
method_76042(long arg0)
toSeconds(long ticks)