Package net.minecraft.command.impl
Class ExperienceCommand
- java.lang.Object
-
- net.minecraft.command.impl.ExperienceCommand
-
public class ExperienceCommand extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
ExperienceCommand.Type
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_SET_POINTS_INVALID
-
Constructor Summary
Constructors Constructor Description ExperienceCommand()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static int
addExperience(CommandSource p_198448_0_, java.util.Collection<? extends ServerPlayerEntity> p_198448_1_, int p_198448_2_, ExperienceCommand.Type p_198448_3_)
private static int
queryExperience(CommandSource p_198443_0_, ServerPlayerEntity p_198443_1_, ExperienceCommand.Type p_198443_2_)
static void
register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198437_0_)
private static int
setExperience(CommandSource p_198438_0_, java.util.Collection<? extends ServerPlayerEntity> p_198438_1_, int p_198438_2_, ExperienceCommand.Type p_198438_3_)
-
-
-
Method Detail
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198437_0_)
-
queryExperience
private static int queryExperience(CommandSource p_198443_0_, ServerPlayerEntity p_198443_1_, ExperienceCommand.Type p_198443_2_)
-
addExperience
private static int addExperience(CommandSource p_198448_0_, java.util.Collection<? extends ServerPlayerEntity> p_198448_1_, int p_198448_2_, ExperienceCommand.Type p_198448_3_)
-
setExperience
private static int setExperience(CommandSource p_198438_0_, java.util.Collection<? extends ServerPlayerEntity> p_198438_1_, int p_198438_2_, ExperienceCommand.Type p_198438_3_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
-