Package net.minecraft.recipe
Class CuttingRecipe.Serializer<T extends CuttingRecipe>
java.lang.Object
net.minecraft.recipe.CuttingRecipe.Serializer<T>
- All Implemented Interfaces:
RecipeSerializer<T>
- Enclosing class:
- CuttingRecipe
public static class CuttingRecipe.Serializer<T extends CuttingRecipe> extends Object implements RecipeSerializer<T>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static interface
CuttingRecipe.Serializer.RecipeFactory<T extends CuttingRecipe>
-
Field Summary
Fields Modifier and Type Field Description (package private) CuttingRecipe.Serializer.RecipeFactory<T>
recipeFactory
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
Constructors Modifier Constructor Description protected
Serializer(CuttingRecipe.Serializer.RecipeFactory<T> recipeFactory)
-
Method Summary
Modifier and Type Method Description T
read(Identifier identifier, JsonObject jsonObject)
T
read(Identifier identifier, PacketByteBuf packetByteBuf)
void
write(PacketByteBuf packetByteBuf, T t)
-
Field Details
-
recipeFactory
-
-
Constructor Details
-
Serializer
-
-
Method Details
-
read
- Specified by:
read
in interfaceRecipeSerializer<T extends CuttingRecipe>
-
read
- Specified by:
read
in interfaceRecipeSerializer<T extends CuttingRecipe>
-
write
- Specified by:
write
in interfaceRecipeSerializer<T extends CuttingRecipe>
-