public interface IRecipeSerializer<T extends IRecipe>
Modifier and Type | Method and Description |
---|---|
default java.lang.String |
getId()
Deprecated.
|
ResourceLocation |
getName() |
T |
read(ResourceLocation recipeId,
com.google.gson.JsonObject json) |
T |
read(ResourceLocation recipeId,
PacketBuffer buffer) |
void |
write(PacketBuffer buffer,
T recipe) |
T read(ResourceLocation recipeId, com.google.gson.JsonObject json)
T read(ResourceLocation recipeId, PacketBuffer buffer)
void write(PacketBuffer buffer, T recipe)
@Deprecated default java.lang.String getId()
ResourceLocation getName()