类 RecipeCommand


  • public class RecipeCommand
    extends Object
    Mappings:
    Namespace Name
    official yz
    intermediary net/minecraft/class_3095
    named net/minecraft/server/command/RecipeCommand
    • 字段详细资料

      • GIVE_FAILED_EXCEPTION

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType GIVE_FAILED_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official a Lyz;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        intermediary field_13681 Lnet/minecraft/class_3095;field_13681:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        named GIVE_FAILED_EXCEPTION Lnet/minecraft/server/command/RecipeCommand;GIVE_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      • TAKE_FAILED_EXCEPTION

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType TAKE_FAILED_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official b Lyz;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        intermediary field_13682 Lnet/minecraft/class_3095;field_13682:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        named TAKE_FAILED_EXCEPTION Lnet/minecraft/server/command/RecipeCommand;TAKE_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • 构造器详细资料

      • RecipeCommand

        public RecipeCommand()
    • 方法详细资料

      • register

        public static void register​(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
        Mappings:
        Namespace Name Mixin selector
        official a Lyz;a(Lcom/mojang/brigadier/CommandDispatcher;)V
        intermediary method_13517 Lnet/minecraft/class_3095;method_13517(Lcom/mojang/brigadier/CommandDispatcher;)V
        named register Lnet/minecraft/server/command/RecipeCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
      • executeGive

        private static int executeGive​(ServerCommandSource source,
                                       Collection<ServerPlayerEntity> targets,
                                       Collection<Recipe<?>> recipes)
                                throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Lyz;a(Ldg;Ljava/util/Collection;Ljava/util/Collection;)I
        intermediary method_13520 Lnet/minecraft/class_3095;method_13520(Lnet/minecraft/class_2168;Ljava/util/Collection;Ljava/util/Collection;)I
        named executeGive Lnet/minecraft/server/command/RecipeCommand;executeGive(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Ljava/util/Collection;)I
      • executeTake

        private static int executeTake​(ServerCommandSource source,
                                       Collection<ServerPlayerEntity> targets,
                                       Collection<Recipe<?>> recipes)
                                throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official b Lyz;b(Ldg;Ljava/util/Collection;Ljava/util/Collection;)I
        intermediary method_13518 Lnet/minecraft/class_3095;method_13518(Lnet/minecraft/class_2168;Ljava/util/Collection;Ljava/util/Collection;)I
        named executeTake Lnet/minecraft/server/command/RecipeCommand;executeTake(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Ljava/util/Collection;)I