Interface RecipeSerializer<T extends Recipe<?>>

All Known Implementing Classes:
CookingRecipeSerializer, CuttingRecipe.Serializer, ShapedRecipe.Serializer, ShapelessRecipe.Serializer, SmithingRecipe.Serializer, SpecialRecipeSerializer

public interface RecipeSerializer<T extends Recipe<?>>
Mappings:
Namespace Name
official bqp
intermediary net/minecraft/class_1865
named net/minecraft/recipe/RecipeSerializer
  • Field Details

    • SHAPED

      static final RecipeSerializer<ShapedRecipe> SHAPED
      Mappings:
      Namespace Name Mixin selector
      official a Lbqp;a:Lbqp;
      intermediary field_9035 Lnet/minecraft/class_1865;field_9035:Lnet/minecraft/class_1865;
      named SHAPED Lnet/minecraft/recipe/RecipeSerializer;SHAPED:Lnet/minecraft/recipe/RecipeSerializer;
    • SHAPELESS

      static final RecipeSerializer<ShapelessRecipe> SHAPELESS
      Mappings:
      Namespace Name Mixin selector
      official b Lbqp;b:Lbqp;
      intermediary field_9031 Lnet/minecraft/class_1865;field_9031:Lnet/minecraft/class_1865;
      named SHAPELESS Lnet/minecraft/recipe/RecipeSerializer;SHAPELESS:Lnet/minecraft/recipe/RecipeSerializer;
    • ARMOR_DYE

      static final SpecialRecipeSerializer<ArmorDyeRecipe> ARMOR_DYE
      Mappings:
      Namespace Name Mixin selector
      official c Lbqp;c:Lbqx;
      intermediary field_9028 Lnet/minecraft/class_1865;field_9028:Lnet/minecraft/class_1866;
      named ARMOR_DYE Lnet/minecraft/recipe/RecipeSerializer;ARMOR_DYE:Lnet/minecraft/recipe/SpecialRecipeSerializer;
    • BOOK_CLONING

      static final SpecialRecipeSerializer<BookCloningRecipe> BOOK_CLONING
      Mappings:
      Namespace Name Mixin selector
      official d Lbqp;d:Lbqx;
      intermediary field_9029 Lnet/minecraft/class_1865;field_9029:Lnet/minecraft/class_1866;
      named BOOK_CLONING Lnet/minecraft/recipe/RecipeSerializer;BOOK_CLONING:Lnet/minecraft/recipe/SpecialRecipeSerializer;
    • MAP_CLONING

      static final SpecialRecipeSerializer<MapCloningRecipe> MAP_CLONING
      Mappings:
      Namespace Name Mixin selector
      official e Lbqp;e:Lbqx;
      intermediary field_9044 Lnet/minecraft/class_1865;field_9044:Lnet/minecraft/class_1866;
      named MAP_CLONING Lnet/minecraft/recipe/RecipeSerializer;MAP_CLONING:Lnet/minecraft/recipe/SpecialRecipeSerializer;
    • MAP_EXTENDING

      static final SpecialRecipeSerializer<MapExtendingRecipe> MAP_EXTENDING
      Mappings:
      Namespace Name Mixin selector
      official f Lbqp;f:Lbqx;
      intermediary field_9039 Lnet/minecraft/class_1865;field_9039:Lnet/minecraft/class_1866;
      named MAP_EXTENDING Lnet/minecraft/recipe/RecipeSerializer;MAP_EXTENDING:Lnet/minecraft/recipe/SpecialRecipeSerializer;
    • FIREWORK_ROCKET

      static final SpecialRecipeSerializer<FireworkRocketRecipe> FIREWORK_ROCKET
      Mappings:
      Namespace Name Mixin selector
      official g Lbqp;g:Lbqx;
      intermediary field_9043 Lnet/minecraft/class_1865;field_9043:Lnet/minecraft/class_1866;
      named FIREWORK_ROCKET Lnet/minecraft/recipe/RecipeSerializer;FIREWORK_ROCKET:Lnet/minecraft/recipe/SpecialRecipeSerializer;
    • FIREWORK_STAR

      static final SpecialRecipeSerializer<FireworkStarRecipe> FIREWORK_STAR
      Mappings:
      Namespace Name Mixin selector
      official h Lbqp;h:Lbqx;
      intermediary field_9036 Lnet/minecraft/class_1865;field_9036:Lnet/minecraft/class_1866;
      named FIREWORK_STAR Lnet/minecraft/recipe/RecipeSerializer;FIREWORK_STAR:Lnet/minecraft/recipe/SpecialRecipeSerializer;
    • FIREWORK_STAR_FADE

      static final SpecialRecipeSerializer<FireworkStarFadeRecipe> FIREWORK_STAR_FADE
      Mappings:
      Namespace Name Mixin selector
      official i Lbqp;i:Lbqx;
      intermediary field_9034 Lnet/minecraft/class_1865;field_9034:Lnet/minecraft/class_1866;
      named FIREWORK_STAR_FADE Lnet/minecraft/recipe/RecipeSerializer;FIREWORK_STAR_FADE:Lnet/minecraft/recipe/SpecialRecipeSerializer;
    • TIPPED_ARROW

      static final SpecialRecipeSerializer<TippedArrowRecipe> TIPPED_ARROW
      Mappings:
      Namespace Name Mixin selector
      official j Lbqp;j:Lbqx;
      intermediary field_9037 Lnet/minecraft/class_1865;field_9037:Lnet/minecraft/class_1866;
      named TIPPED_ARROW Lnet/minecraft/recipe/RecipeSerializer;TIPPED_ARROW:Lnet/minecraft/recipe/SpecialRecipeSerializer;
    • SHIELD_DECORATION

      static final SpecialRecipeSerializer<ShieldDecorationRecipe> SHIELD_DECORATION
      Mappings:
      Namespace Name Mixin selector
      official l Lbqp;l:Lbqx;
      intermediary field_9040 Lnet/minecraft/class_1865;field_9040:Lnet/minecraft/class_1866;
      named SHIELD_DECORATION Lnet/minecraft/recipe/RecipeSerializer;SHIELD_DECORATION:Lnet/minecraft/recipe/SpecialRecipeSerializer;
    • SHULKER_BOX

      Mappings:
      Namespace Name Mixin selector
      official m Lbqp;m:Lbqx;
      intermediary field_9041 Lnet/minecraft/class_1865;field_9041:Lnet/minecraft/class_1866;
      named SHULKER_BOX Lnet/minecraft/recipe/RecipeSerializer;SHULKER_BOX:Lnet/minecraft/recipe/SpecialRecipeSerializer;
    • SUSPICIOUS_STEW

      static final SpecialRecipeSerializer<SuspiciousStewRecipe> SUSPICIOUS_STEW
      Mappings:
      Namespace Name Mixin selector
      official n Lbqp;n:Lbqx;
      intermediary field_9030 Lnet/minecraft/class_1865;field_9030:Lnet/minecraft/class_1866;
      named SUSPICIOUS_STEW Lnet/minecraft/recipe/RecipeSerializer;SUSPICIOUS_STEW:Lnet/minecraft/recipe/SpecialRecipeSerializer;
    • REPAIR_ITEM

      static final SpecialRecipeSerializer<RepairItemRecipe> REPAIR_ITEM
      Mappings:
      Namespace Name Mixin selector
      official o Lbqp;o:Lbqx;
      intermediary field_19421 Lnet/minecraft/class_1865;field_19421:Lnet/minecraft/class_1866;
      named REPAIR_ITEM Lnet/minecraft/recipe/RecipeSerializer;REPAIR_ITEM:Lnet/minecraft/recipe/SpecialRecipeSerializer;
    • SMELTING

      static final CookingRecipeSerializer<SmeltingRecipe> SMELTING
      Mappings:
      Namespace Name Mixin selector
      official p Lbqp;p:Lbqw;
      intermediary field_9042 Lnet/minecraft/class_1865;field_9042:Lnet/minecraft/class_3957;
      named SMELTING Lnet/minecraft/recipe/RecipeSerializer;SMELTING:Lnet/minecraft/recipe/CookingRecipeSerializer;
    • BLASTING

      static final CookingRecipeSerializer<BlastingRecipe> BLASTING
      Mappings:
      Namespace Name Mixin selector
      official q Lbqp;q:Lbqw;
      intermediary field_17084 Lnet/minecraft/class_1865;field_17084:Lnet/minecraft/class_3957;
      named BLASTING Lnet/minecraft/recipe/RecipeSerializer;BLASTING:Lnet/minecraft/recipe/CookingRecipeSerializer;
    • SMOKING

      static final CookingRecipeSerializer<SmokingRecipe> SMOKING
      Mappings:
      Namespace Name Mixin selector
      official r Lbqp;r:Lbqw;
      intermediary field_17085 Lnet/minecraft/class_1865;field_17085:Lnet/minecraft/class_3957;
      named SMOKING Lnet/minecraft/recipe/RecipeSerializer;SMOKING:Lnet/minecraft/recipe/CookingRecipeSerializer;
    • CAMPFIRE_COOKING

      static final CookingRecipeSerializer<CampfireCookingRecipe> CAMPFIRE_COOKING
      Mappings:
      Namespace Name Mixin selector
      official s Lbqp;s:Lbqw;
      intermediary field_17347 Lnet/minecraft/class_1865;field_17347:Lnet/minecraft/class_3957;
      named CAMPFIRE_COOKING Lnet/minecraft/recipe/RecipeSerializer;CAMPFIRE_COOKING:Lnet/minecraft/recipe/CookingRecipeSerializer;
    • STONECUTTING

      static final RecipeSerializer<StonecuttingRecipe> STONECUTTING
      Mappings:
      Namespace Name Mixin selector
      official t Lbqp;t:Lbqp;
      intermediary field_17640 Lnet/minecraft/class_1865;field_17640:Lnet/minecraft/class_1865;
      named STONECUTTING Lnet/minecraft/recipe/RecipeSerializer;STONECUTTING:Lnet/minecraft/recipe/RecipeSerializer;
    • SMITHING

      static final RecipeSerializer<SmithingRecipe> SMITHING
      Mappings:
      Namespace Name Mixin selector
      official u Lbqp;u:Lbqp;
      intermediary field_25387 Lnet/minecraft/class_1865;field_25387:Lnet/minecraft/class_1865;
      named SMITHING Lnet/minecraft/recipe/RecipeSerializer;SMITHING:Lnet/minecraft/recipe/RecipeSerializer;
  • Method Details

    • read

      T read​(Identifier id, JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official a Lbqp;a(Lwb;Lcom/google/gson/JsonObject;)Lbqn;
      intermediary method_8121 Lnet/minecraft/class_1865;method_8121(Lnet/minecraft/class_2960;Lcom/google/gson/JsonObject;)Lnet/minecraft/class_1860;
      named read Lnet/minecraft/recipe/RecipeSerializer;read(Lnet/minecraft/util/Identifier;Lcom/google/gson/JsonObject;)Lnet/minecraft/recipe/Recipe;
    • read

      T read​(Identifier id, PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official a Lbqp;a(Lwb;Lnw;)Lbqn;
      intermediary method_8122 Lnet/minecraft/class_1865;method_8122(Lnet/minecraft/class_2960;Lnet/minecraft/class_2540;)Lnet/minecraft/class_1860;
      named read Lnet/minecraft/recipe/RecipeSerializer;read(Lnet/minecraft/util/Identifier;Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/recipe/Recipe;
    • write

      void write​(PacketByteBuf buf, T recipe)
      Mappings:
      Namespace Name Mixin selector
      official a Lbqp;a(Lnw;Lbqn;)V
      intermediary method_8124 Lnet/minecraft/class_1865;method_8124(Lnet/minecraft/class_2540;Lnet/minecraft/class_1860;)V
      named write Lnet/minecraft/recipe/RecipeSerializer;write(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/recipe/Recipe;)V
    • register

      static <S extends RecipeSerializer<T>,​ T extends Recipe<?>> S register​(String id, S serializer)
      Mappings:
      Namespace Name Mixin selector
      official a Lbqp;a(Ljava/lang/String;Lbqp;)Lbqp;
      intermediary method_17724 Lnet/minecraft/class_1865;method_17724(Ljava/lang/String;Lnet/minecraft/class_1865;)Lnet/minecraft/class_1865;
      named register Lnet/minecraft/recipe/RecipeSerializer;register(Ljava/lang/String;Lnet/minecraft/recipe/RecipeSerializer;)Lnet/minecraft/recipe/RecipeSerializer;