public static class ShapedRecipe.Serializer extends Object implements RecipeSerializer<ShapedRecipe>
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 |
---|---|
ShapedRecipe |
read(Identifier identifier,
JsonObject jsonObject) |
ShapedRecipe |
read(Identifier identifier,
PacketByteBuf packetByteBuf) |
void |
write(PacketByteBuf packetByteBuf,
ShapedRecipe shapedRecipe) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
register
public ShapedRecipe read(Identifier identifier, JsonObject jsonObject)
read
in interface RecipeSerializer<ShapedRecipe>
public ShapedRecipe read(Identifier identifier, PacketByteBuf packetByteBuf)
read
in interface RecipeSerializer<ShapedRecipe>
public void write(PacketByteBuf packetByteBuf, ShapedRecipe shapedRecipe)
write
in interface RecipeSerializer<ShapedRecipe>