public static class ShapedRecipe.Serializer extends ForgeRegistryEntry<IRecipeSerializer<?>> implements IRecipeSerializer<ShapedRecipe>
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
NAME |
delegate
BLASTING, CAMPFIRE_COOKING, CRAFTING_SHAPED, CRAFTING_SHAPELESS, CRAFTING_SPECIAL_ARMORDYE, CRAFTING_SPECIAL_BANNERDUPLICATE, CRAFTING_SPECIAL_BOOKCLONING, CRAFTING_SPECIAL_FIREWORK_ROCKET, CRAFTING_SPECIAL_FIREWORK_STAR, CRAFTING_SPECIAL_FIREWORK_STAR_FADE, CRAFTING_SPECIAL_MAPCLONING, CRAFTING_SPECIAL_MAPEXTENDING, CRAFTING_SPECIAL_REPAIRITEM, CRAFTING_SPECIAL_SHIELD, CRAFTING_SPECIAL_SHULKERBOXCOLORING, CRAFTING_SPECIAL_SUSPICIOUSSTEW, CRAFTING_SPECIAL_TIPPEDARROW, SMELTING, SMOKING, STONECUTTING
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
ShapedRecipe |
read(ResourceLocation recipeId,
com.google.gson.JsonObject json) |
ShapedRecipe |
read(ResourceLocation recipeId,
PacketBuffer buffer) |
void |
write(PacketBuffer buffer,
ShapedRecipe recipe) |
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
register
getRegistryName, getRegistryType, setRegistryName
private static final ResourceLocation NAME
public ShapedRecipe read(ResourceLocation recipeId, com.google.gson.JsonObject json)
read
in interface IRecipeSerializer<ShapedRecipe>
public ShapedRecipe read(ResourceLocation recipeId, PacketBuffer buffer)
read
in interface IRecipeSerializer<ShapedRecipe>
public void write(PacketBuffer buffer, ShapedRecipe recipe)
write
in interface IRecipeSerializer<ShapedRecipe>