public class ExperienceCommand extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ExperienceCommand.Component |
Modifier and Type | Field and Description |
---|---|
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
SET_POINT_INVALID_EXCEPTION |
Constructor and Description |
---|
ExperienceCommand() |
Modifier and Type | Method and Description |
---|---|
private static int |
executeAdd(ServerCommandSource source,
Collection<? extends ServerPlayerEntity> targets,
int amount,
ExperienceCommand.Component component) |
private static int |
executeQuery(ServerCommandSource source,
ServerPlayerEntity player,
ExperienceCommand.Component component) |
private static int |
executeSet(ServerCommandSource source,
Collection<? extends ServerPlayerEntity> targets,
int amount,
ExperienceCommand.Component component) |
static void |
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) |
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_POINT_INVALID_EXCEPTION
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int executeQuery(ServerCommandSource source, ServerPlayerEntity player, ExperienceCommand.Component component)
private static int executeAdd(ServerCommandSource source, Collection<? extends ServerPlayerEntity> targets, int amount, ExperienceCommand.Component component)
private static int executeSet(ServerCommandSource source, Collection<? extends ServerPlayerEntity> targets, int amount, ExperienceCommand.Component component)