Package net.minecraft.recipe
Class CookingRecipeSerializer<T extends AbstractCookingRecipe>
java.lang.Object
net.minecraft.recipe.CookingRecipeSerializer<T>
- All Implemented Interfaces:
RecipeSerializer<T>
public class CookingRecipeSerializer<T extends AbstractCookingRecipe>
extends Object
implements RecipeSerializer<T>
- Mappings:
Namespace Name official cgaintermediary net/minecraft/class_3957named net/minecraft/recipe/CookingRecipeSerializer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final CookingRecipeSerializer.RecipeFactory<T>Fields inherited from interface net.minecraft.recipe.RecipeSerializer
ARMOR_DYE, BANNER_DUPLICATE, BLASTING, BOOK_CLONING, CAMPFIRE_COOKING, FIREWORK_ROCKET, FIREWORK_STAR, FIREWORK_STAR_FADE, MAP_CLONING, MAP_EXTENDING, REPAIR_ITEM, SHAPED, SHAPELESS, SHIELD_DECORATION, SHULKER_BOX, SMELTING, SMITHING, SMOKING, STONECUTTING, SUSPICIOUS_STEW, TIPPED_ARROW -
Constructor Summary
ConstructorsConstructorDescriptionCookingRecipeSerializer(CookingRecipeSerializer.RecipeFactory<T> recipeFactory, int cookingTime) -
Method Summary
Modifier and TypeMethodDescriptionvoidmethod_17735(PacketByteBuf packetByteBuf, T t) method_17736(Identifier identifier, JsonObject jsonObject) method_17737(Identifier identifier, PacketByteBuf packetByteBuf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.recipe.RecipeSerializer
read, read, write
-
Field Details
-
cookingTime
private final int cookingTime- Mappings:
Namespace Name Mixin selector official vLcga;v:Iintermediary field_17551Lnet/minecraft/class_3957;field_17551:Inamed cookingTimeLnet/minecraft/recipe/CookingRecipeSerializer;cookingTime:I
-
recipeFactory
- Mappings:
Namespace Name Mixin selector official wLcga;w:Lcga$a;intermediary field_17552Lnet/minecraft/class_3957;field_17552:Lnet/minecraft/class_3957$class_3958;named recipeFactoryLnet/minecraft/recipe/CookingRecipeSerializer;recipeFactory:Lnet/minecraft/recipe/CookingRecipeSerializer$RecipeFactory;
-
-
Constructor Details
-
CookingRecipeSerializer
public CookingRecipeSerializer(CookingRecipeSerializer.RecipeFactory<T> recipeFactory, int cookingTime) - Mappings:
Namespace Name Mixin selector official <init>Lcga;<init>(Lcga$a;I)Vintermediary <init>Lnet/minecraft/class_3957;<init>(Lnet/minecraft/class_3957$class_3958;I)Vnamed <init>Lnet/minecraft/recipe/CookingRecipeSerializer;<init>(Lnet/minecraft/recipe/CookingRecipeSerializer$RecipeFactory;I)V
-
-
Method Details
-
method_17736
- Mappings:
Namespace Name Mixin selector official bLcga;b(Labv;Lcom/google/gson/JsonObject;)Lcfb;intermediary method_17736Lnet/minecraft/class_3957;method_17736(Lnet/minecraft/class_2960;Lcom/google/gson/JsonObject;)Lnet/minecraft/class_1874;named method_17736Lnet/minecraft/recipe/CookingRecipeSerializer;method_17736(Lnet/minecraft/util/Identifier;Lcom/google/gson/JsonObject;)Lnet/minecraft/recipe/AbstractCookingRecipe;
-
method_17737
- Mappings:
Namespace Name Mixin selector official bLcga;b(Labv;Lrt;)Lcfb;intermediary method_17737Lnet/minecraft/class_3957;method_17737(Lnet/minecraft/class_2960;Lnet/minecraft/class_2540;)Lnet/minecraft/class_1874;named method_17737Lnet/minecraft/recipe/CookingRecipeSerializer;method_17737(Lnet/minecraft/util/Identifier;Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/recipe/AbstractCookingRecipe;
-
method_17735
- Mappings:
Namespace Name Mixin selector official aLcga;a(Lrt;Lcfb;)Vintermediary method_17735Lnet/minecraft/class_3957;method_17735(Lnet/minecraft/class_2540;Lnet/minecraft/class_1874;)Vnamed method_17735Lnet/minecraft/recipe/CookingRecipeSerializer;method_17735(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/recipe/AbstractCookingRecipe;)V
-