Interface RecipeType<T extends Recipe<?>>

Type Parameters:
T - the common supertype of recipes within a recipe type

public interface RecipeType<T extends Recipe<?>>
The recipe type allows matching recipes more efficiently by only checking recipes under a given type.
Mappings:
Namespace Name
official cqh
intermediary net/minecraft/class_3956
named net/minecraft/recipe/RecipeType
  • Field Details

    • CRAFTING

      static final RecipeType<CraftingRecipe> CRAFTING
      Mappings:
      Namespace Name Mixin selector
      official a Lcqh;a:Lcqh;
      intermediary field_17545 Lnet/minecraft/class_3956;field_17545:Lnet/minecraft/class_3956;
      named CRAFTING Lnet/minecraft/recipe/RecipeType;CRAFTING:Lnet/minecraft/recipe/RecipeType;
    • SMELTING

      static final RecipeType<SmeltingRecipe> SMELTING
      Mappings:
      Namespace Name Mixin selector
      official b Lcqh;b:Lcqh;
      intermediary field_17546 Lnet/minecraft/class_3956;field_17546:Lnet/minecraft/class_3956;
      named SMELTING Lnet/minecraft/recipe/RecipeType;SMELTING:Lnet/minecraft/recipe/RecipeType;
    • BLASTING

      static final RecipeType<BlastingRecipe> BLASTING
      Mappings:
      Namespace Name Mixin selector
      official c Lcqh;c:Lcqh;
      intermediary field_17547 Lnet/minecraft/class_3956;field_17547:Lnet/minecraft/class_3956;
      named BLASTING Lnet/minecraft/recipe/RecipeType;BLASTING:Lnet/minecraft/recipe/RecipeType;
    • SMOKING

      static final RecipeType<SmokingRecipe> SMOKING
      Mappings:
      Namespace Name Mixin selector
      official d Lcqh;d:Lcqh;
      intermediary field_17548 Lnet/minecraft/class_3956;field_17548:Lnet/minecraft/class_3956;
      named SMOKING Lnet/minecraft/recipe/RecipeType;SMOKING:Lnet/minecraft/recipe/RecipeType;
    • CAMPFIRE_COOKING

      static final RecipeType<CampfireCookingRecipe> CAMPFIRE_COOKING
      Mappings:
      Namespace Name Mixin selector
      official e Lcqh;e:Lcqh;
      intermediary field_17549 Lnet/minecraft/class_3956;field_17549:Lnet/minecraft/class_3956;
      named CAMPFIRE_COOKING Lnet/minecraft/recipe/RecipeType;CAMPFIRE_COOKING:Lnet/minecraft/recipe/RecipeType;
    • STONECUTTING

      static final RecipeType<StonecuttingRecipe> STONECUTTING
      Mappings:
      Namespace Name Mixin selector
      official f Lcqh;f:Lcqh;
      intermediary field_17641 Lnet/minecraft/class_3956;field_17641:Lnet/minecraft/class_3956;
      named STONECUTTING Lnet/minecraft/recipe/RecipeType;STONECUTTING:Lnet/minecraft/recipe/RecipeType;
    • SMITHING

      static final RecipeType<SmithingRecipe> SMITHING
      Mappings:
      Namespace Name Mixin selector
      official g Lcqh;g:Lcqh;
      intermediary field_25388 Lnet/minecraft/class_3956;field_25388:Lnet/minecraft/class_3956;
      named SMITHING Lnet/minecraft/recipe/RecipeType;SMITHING:Lnet/minecraft/recipe/RecipeType;
  • Method Details

    • register

      static <T extends Recipe<?>> RecipeType<T> register(String id)
      Mappings:
      Namespace Name Mixin selector
      official a Lcqh;a(Ljava/lang/String;)Lcqh;
      intermediary method_17726 Lnet/minecraft/class_3956;method_17726(Ljava/lang/String;)Lnet/minecraft/class_3956;
      named register Lnet/minecraft/recipe/RecipeType;register(Ljava/lang/String;)Lnet/minecraft/recipe/RecipeType;