public class ExperienceCommand
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ExperienceCommand.Type |
Modifier and Type | Field and Description |
---|---|
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
SET_POINTS_INVALID_EXCEPTION |
Constructor and Description |
---|
ExperienceCommand() |
Modifier and Type | Method and Description |
---|---|
private static int |
addExperience(CommandSource source,
java.util.Collection<? extends ServerPlayerEntity> targets,
int amount,
ExperienceCommand.Type type) |
private static int |
queryExperience(CommandSource source,
ServerPlayerEntity player,
ExperienceCommand.Type type) |
static void |
register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher) |
private static int |
setExperience(CommandSource source,
java.util.Collection<? extends ServerPlayerEntity> targets,
int amount,
ExperienceCommand.Type type) |
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_POINTS_INVALID_EXCEPTION
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)
private static int queryExperience(CommandSource source, ServerPlayerEntity player, ExperienceCommand.Type type)
private static int addExperience(CommandSource source, java.util.Collection<? extends ServerPlayerEntity> targets, int amount, ExperienceCommand.Type type)
private static int setExperience(CommandSource source, java.util.Collection<? extends ServerPlayerEntity> targets, int amount, ExperienceCommand.Type type) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException