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