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 cgr
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 Lcgr;a:Lcgr;
      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 Lcgr;b:Lcgr;
      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 Lcgr;c:Lcgr;
      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 Lcgr;d:Lcgr;
      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 Lcgr;e:Lcgr;
      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 Lcgr;f:Lcgr;
      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 Lcgr;g:Lcgr;
      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 Lcgr;a(Ljava/lang/String;)Lcgr;
      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;