public static class ShapelessRecipe.Serializer extends ForgeRegistryEntry<IRecipeSerializer<?>> implements IRecipeSerializer<ShapelessRecipe>
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 |
---|---|
ShapelessRecipe |
read(ResourceLocation recipeId,
com.google.gson.JsonObject json) |
ShapelessRecipe |
read(ResourceLocation recipeId,
PacketBuffer buffer) |
private static NonNullList<Ingredient> |
readIngredients(com.google.gson.JsonArray p_199568_0_) |
void |
write(PacketBuffer buffer,
ShapelessRecipe 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 ShapelessRecipe read(ResourceLocation recipeId, com.google.gson.JsonObject json)
read
in interface IRecipeSerializer<ShapelessRecipe>
private static NonNullList<Ingredient> readIngredients(com.google.gson.JsonArray p_199568_0_)
public ShapelessRecipe read(ResourceLocation recipeId, PacketBuffer buffer)
read
in interface IRecipeSerializer<ShapelessRecipe>
public void write(PacketBuffer buffer, ShapelessRecipe recipe)
write
in interface IRecipeSerializer<ShapelessRecipe>