public static class MechanicalCraftingRecipe.Serializer
extends net.minecraft.item.crafting.ShapedRecipe.Serializer
ARMOR_DYE, BANNER_DUPLICATE, BLASTING_RECIPE, BOOK_CLONING, CAMPFIRE_COOKING_RECIPE, FIREWORK_ROCKET, FIREWORK_STAR, FIREWORK_STAR_FADE, MAP_CLONING, MAP_EXTENDING, REPAIR_ITEM, SHAPED_RECIPE, SHAPELESS_RECIPE, SHIELD_DECORATION, SHULKER_BOX_COLORING, SMELTING_RECIPE, SMITHING, SMOKING_RECIPE, STONECUTTER, SUSPICIOUS_STEW, TIPPED_ARROW| Constructor and Description |
|---|
Serializer() |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.item.crafting.ShapedRecipe |
fromJson(net.minecraft.util.ResourceLocation recipeId,
com.google.gson.JsonObject json) |
net.minecraft.item.crafting.ShapedRecipe |
fromNetwork(net.minecraft.util.ResourceLocation recipeId,
net.minecraft.network.PacketBuffer buffer) |
void |
toNetwork(net.minecraft.network.PacketBuffer p_199427_1_,
net.minecraft.item.crafting.ShapedRecipe p_199427_2_) |
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNamepublic net.minecraft.item.crafting.ShapedRecipe fromJson(net.minecraft.util.ResourceLocation recipeId,
com.google.gson.JsonObject json)
fromJson in interface net.minecraft.item.crafting.IRecipeSerializer<net.minecraft.item.crafting.ShapedRecipe>fromJson in class net.minecraft.item.crafting.ShapedRecipe.Serializerpublic net.minecraft.item.crafting.ShapedRecipe fromNetwork(net.minecraft.util.ResourceLocation recipeId,
net.minecraft.network.PacketBuffer buffer)
fromNetwork in interface net.minecraft.item.crafting.IRecipeSerializer<net.minecraft.item.crafting.ShapedRecipe>fromNetwork in class net.minecraft.item.crafting.ShapedRecipe.Serializerpublic void toNetwork(net.minecraft.network.PacketBuffer p_199427_1_,
net.minecraft.item.crafting.ShapedRecipe p_199427_2_)
toNetwork in interface net.minecraft.item.crafting.IRecipeSerializer<net.minecraft.item.crafting.ShapedRecipe>toNetwork in class net.minecraft.item.crafting.ShapedRecipe.Serializer