类 ExperienceCommand


  • public class ExperienceCommand
    extends Object
    Mappings:
    Namespace Name
    official yc
    intermediary net/minecraft/class_3054
    named net/minecraft/server/command/ExperienceCommand
    • 字段详细资料

      • SET_POINT_INVALID_EXCEPTION

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SET_POINT_INVALID_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official a Lyc;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;
    • 构造器详细资料

      • ExperienceCommand

        public ExperienceCommand()
    • 方法详细资料

      • register

        public static void register​(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
        Mappings:
        Namespace Name Mixin selector
        official a Lyc;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 Lyc;a(Ldg;Labk;Lyc$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 Lyc;a(Ldg;Ljava/util/Collection;ILyc$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
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official b Lyc;b(Ldg;Ljava/util/Collection;ILyc$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