类 WorldBorderCommand
java.lang.Object
net.minecraft.server.commands.WorldBorderCommand
-
字段概要
字段修饰符和类型字段说明private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static int
getSize
(CommandSourceStack pSource) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) private static int
setCenter
(CommandSourceStack pSource, Vec2 pPos) private static int
setDamageAmount
(CommandSourceStack pSource, float pDamagePerBlock) private static int
setDamageBuffer
(CommandSourceStack pSource, float pDistance) private static int
setSize
(CommandSourceStack pSource, double pNewSize, long pTime) private static int
setWarningDistance
(CommandSourceStack pSource, int pDistance) private static int
setWarningTime
(CommandSourceStack pSource, int pTime)
-
字段详细资料
-
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_TOO_FAR_OUT
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TOO_FAR_OUT -
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
-
-
构造器详细资料
-
WorldBorderCommand
public WorldBorderCommand()
-
-
方法详细资料
-
register
-
setDamageBuffer
private static int setDamageBuffer(CommandSourceStack pSource, float pDistance) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
setDamageAmount
private static int setDamageAmount(CommandSourceStack pSource, float pDamagePerBlock) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
setWarningTime
private static int setWarningTime(CommandSourceStack pSource, int pTime) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
setWarningDistance
private static int setWarningDistance(CommandSourceStack pSource, int pDistance) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getSize
-
setCenter
private static int setCenter(CommandSourceStack pSource, Vec2 pPos) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
setSize
private static int setSize(CommandSourceStack pSource, double pNewSize, long pTime) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-