Interface RecipeUnlocker

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

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

    • setLastRecipe

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

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

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

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