Package net.minecraft.server.command
Class ExperienceCommand
java.lang.Object
net.minecraft.server.command.ExperienceCommand
public class ExperienceCommand extends Object
- Mappings:
Namespace Name official xo
intermediary net/minecraft/class_3054
named net/minecraft/server/command/ExperienceCommand
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
ExperienceCommand.Component
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
SET_POINT_INVALID_EXCEPTION
-
Constructor Summary
Constructors Constructor Description ExperienceCommand()
-
Method Summary
Modifier and Type Method 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)
-
Field Details
-
SET_POINT_INVALID_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_POINT_INVALID_EXCEPTION- Mappings:
Namespace Name Mixin selector official a
Lxo;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13638
Lnet/minecraft/class_3054;field_13638:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
named SET_POINT_INVALID_EXCEPTION
Lnet/minecraft/server/command/ExperienceCommand;SET_POINT_INVALID_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
ExperienceCommand
public ExperienceCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)- Mappings:
Namespace Name Mixin selector official a
Lxo;a(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_13330
Lnet/minecraft/class_3054;method_13330(Lcom/mojang/brigadier/CommandDispatcher;)V
named register
Lnet/minecraft/server/command/ExperienceCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
executeQuery
private static int executeQuery(ServerCommandSource source, ServerPlayerEntity player, ExperienceCommand.Component component)- Mappings:
Namespace Name Mixin selector official a
Lxo;a(Ldb;Laaw;Lxo$a;)I
intermediary method_13328
Lnet/minecraft/class_3054;method_13328(Lnet/minecraft/class_2168;Lnet/minecraft/class_3222;Lnet/minecraft/class_3054$class_3055;)I
named executeQuery
Lnet/minecraft/server/command/ExperienceCommand;executeQuery(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/server/command/ExperienceCommand$Component;)I
-
executeAdd
private static int executeAdd(ServerCommandSource source, Collection<? extends ServerPlayerEntity> targets, int amount, ExperienceCommand.Component component)- Mappings:
Namespace Name Mixin selector official a
Lxo;a(Ldb;Ljava/util/Collection;ILxo$a;)I
intermediary method_13326
Lnet/minecraft/class_3054;method_13326(Lnet/minecraft/class_2168;Ljava/util/Collection;ILnet/minecraft/class_3054$class_3055;)I
named executeAdd
Lnet/minecraft/server/command/ExperienceCommand;executeAdd(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;ILnet/minecraft/server/command/ExperienceCommand$Component;)I
-
executeSet
private static int executeSet(ServerCommandSource source, Collection<? extends ServerPlayerEntity> targets, int amount, ExperienceCommand.Component component) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official b
Lxo;b(Ldb;Ljava/util/Collection;ILxo$a;)I
intermediary method_13333
Lnet/minecraft/class_3054;method_13333(Lnet/minecraft/class_2168;Ljava/util/Collection;ILnet/minecraft/class_3054$class_3055;)I
named executeSet
Lnet/minecraft/server/command/ExperienceCommand;executeSet(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;ILnet/minecraft/server/command/ExperienceCommand$Component;)I
-