类 ExperienceCommand
java.lang.Object
net.minecraft.server.commands.ExperienceCommand
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static int
addExperience
(CommandSourceStack p_137317_, Collection<? extends ServerPlayer> p_137318_, int p_137319_, ExperienceCommand.Type p_137320_) private static int
queryExperience
(CommandSourceStack p_137313_, ServerPlayer p_137314_, ExperienceCommand.Type p_137315_) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137307_) private static int
setExperience
(CommandSourceStack p_137326_, Collection<? extends ServerPlayer> p_137327_, int p_137328_, ExperienceCommand.Type p_137329_)
-
字段详细资料
-
ERROR_SET_POINTS_INVALID
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_SET_POINTS_INVALID
-
-
构造器详细资料
-
ExperienceCommand
public ExperienceCommand()
-
-
方法详细资料
-
register
-
queryExperience
private static int queryExperience(CommandSourceStack p_137313_, ServerPlayer p_137314_, ExperienceCommand.Type p_137315_) -
addExperience
private static int addExperience(CommandSourceStack p_137317_, Collection<? extends ServerPlayer> p_137318_, int p_137319_, ExperienceCommand.Type p_137320_) -
setExperience
private static int setExperience(CommandSourceStack p_137326_, Collection<? extends ServerPlayer> p_137327_, int p_137328_, ExperienceCommand.Type p_137329_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-