public static class SmithingRecipe.Serializer extends Object implements RecipeSerializer<SmithingRecipe>
ARMOR_DYE, BANNER_DUPLICATE, BLASTING, BOOK_CLONING, CAMPFIRE_COOKING, FIREWORK_ROCKET, FIREWORK_STAR, FIREWORK_STAR_FADE, MAP_CLONING, MAP_EXTENDING, REPAIR_ITEM, SHAPED, SHAPELESS, SHIELD_DECORATION, SHULKER_BOX, SMELTING, SMITHING, SMOKING, STONECUTTING, SUSPICIOUS_STEW, TIPPED_ARROW
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
SmithingRecipe |
read(Identifier identifier,
JsonObject jsonObject) |
SmithingRecipe |
read(Identifier identifier,
PacketByteBuf packetByteBuf) |
void |
write(PacketByteBuf packetByteBuf,
SmithingRecipe smithingRecipe) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
register
public SmithingRecipe read(Identifier identifier, JsonObject jsonObject)
read
in interface RecipeSerializer<SmithingRecipe>
public SmithingRecipe read(Identifier identifier, PacketByteBuf packetByteBuf)
read
in interface RecipeSerializer<SmithingRecipe>
public void write(PacketByteBuf packetByteBuf, SmithingRecipe smithingRecipe)
write
in interface RecipeSerializer<SmithingRecipe>