public static class ShapedRecipe.Serializer extends java.lang.Object implements IRecipeSerializer<ShapedRecipe>
| Constructor and Description |
|---|
Serializer() |
| Modifier and Type | Method and Description |
|---|---|
ResourceLocation |
getName() |
ShapedRecipe |
read(ResourceLocation recipeId,
com.google.gson.JsonObject json) |
ShapedRecipe |
read(ResourceLocation recipeId,
PacketBuffer buffer) |
void |
write(PacketBuffer buffer,
ShapedRecipe recipe) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdpublic ShapedRecipe read(ResourceLocation recipeId, com.google.gson.JsonObject json)
read in interface IRecipeSerializer<ShapedRecipe>public ResourceLocation getName()
getName 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>