接口 RecipeUnlocker

    • 方法详细资料

      • setLastRecipe

        void setLastRecipe​(@Nullable
                           @Nullable Recipe<?> recipe)
        Mappings:
        Namespace Name Mixin selector
        official a Lbmw;a(Lbsj;)V
        intermediary method_7662 Lnet/minecraft/class_1732;method_7662(Lnet/minecraft/class_1860;)V
        named setLastRecipe Lnet/minecraft/recipe/RecipeUnlocker;setLastRecipe(Lnet/minecraft/recipe/Recipe;)V
      • getLastRecipe

        @Nullable
        @Nullable Recipe<?> getLastRecipe()
        Mappings:
        Namespace Name Mixin selector
        official ap_ Lbmw;ap_()Lbsj;
        intermediary method_7663 Lnet/minecraft/class_1732;method_7663()Lnet/minecraft/class_1860;
        named getLastRecipe Lnet/minecraft/recipe/RecipeUnlocker;getLastRecipe()Lnet/minecraft/recipe/Recipe;
      • unlockLastRecipe

        default void unlockLastRecipe​(PlayerEntity player)
        Mappings:
        Namespace Name Mixin selector
        official b Lbmw;b(Lbjf;)V
        intermediary method_7664 Lnet/minecraft/class_1732;method_7664(Lnet/minecraft/class_1657;)V
        named unlockLastRecipe Lnet/minecraft/recipe/RecipeUnlocker;unlockLastRecipe(Lnet/minecraft/entity/player/PlayerEntity;)V
      • shouldCraftRecipe

        default boolean shouldCraftRecipe​(World world,
                                          ServerPlayerEntity player,
                                          Recipe<?> recipe)
        Mappings:
        Namespace Name Mixin selector
        official a Lbmw;a(Lbvr;Labk;Lbsj;)Z
        intermediary method_7665 Lnet/minecraft/class_1732;method_7665(Lnet/minecraft/class_1937;Lnet/minecraft/class_3222;Lnet/minecraft/class_1860;)Z
        named shouldCraftRecipe Lnet/minecraft/recipe/RecipeUnlocker;shouldCraftRecipe(Lnet/minecraft/world/World;Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/recipe/Recipe;)Z