Interface RecipeUnlocker

All Known Implementing Classes:
AbstractFurnaceBlockEntity, BlastFurnaceBlockEntity, CraftingResultInventory, FurnaceBlockEntity, SmokerBlockEntity

public interface RecipeUnlocker
Mappings:
Namespace Name
official cfx
intermediary net/minecraft/class_1732
named net/minecraft/recipe/RecipeUnlocker
  • Method Details

    • setLastRecipe

      void setLastRecipe(@Nullable @Nullable RecipeEntry<?> recipe)
      Mappings:
      Namespace Name Mixin selector
      official a Lcfx;a(Lcmk;)V
      intermediary method_7662 Lnet/minecraft/class_1732;method_7662(Lnet/minecraft/class_8786;)V
      named setLastRecipe Lnet/minecraft/recipe/RecipeUnlocker;setLastRecipe(Lnet/minecraft/recipe/RecipeEntry;)V
    • getLastRecipe

      @Nullable @Nullable RecipeEntry<?> getLastRecipe()
      Mappings:
      Namespace Name Mixin selector
      official d Lcfx;d()Lcmk;
      intermediary method_7663 Lnet/minecraft/class_1732;method_7663()Lnet/minecraft/class_8786;
      named getLastRecipe Lnet/minecraft/recipe/RecipeUnlocker;getLastRecipe()Lnet/minecraft/recipe/RecipeEntry;
    • unlockLastRecipe

      default void unlockLastRecipe(PlayerEntity player, List<ItemStack> ingredients)
      Mappings:
      Namespace Name Mixin selector
      official a Lcfx;a(Lcbu;Ljava/util/List;)V
      intermediary method_7664 Lnet/minecraft/class_1732;method_7664(Lnet/minecraft/class_1657;Ljava/util/List;)V
      named unlockLastRecipe Lnet/minecraft/recipe/RecipeUnlocker;unlockLastRecipe(Lnet/minecraft/entity/player/PlayerEntity;Ljava/util/List;)V
    • shouldCraftRecipe

      default boolean shouldCraftRecipe(World world, ServerPlayerEntity player, RecipeEntry<?> recipe)
      Mappings:
      Namespace Name Mixin selector
      official a Lcfx;a(Lcpv;Lakr;Lcmk;)Z
      intermediary method_7665 Lnet/minecraft/class_1732;method_7665(Lnet/minecraft/class_1937;Lnet/minecraft/class_3222;Lnet/minecraft/class_8786;)Z
      named shouldCraftRecipe Lnet/minecraft/recipe/RecipeUnlocker;shouldCraftRecipe(Lnet/minecraft/world/World;Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/recipe/RecipeEntry;)Z