written_book.json 650 B

123456789101112131415161718192021222324252627
  1. {
  2. "type":"minecraft:generic",
  3. "pools":[
  4. {
  5. "rolls":1,
  6. "entries":[
  7. {
  8. "type":"item",
  9. "name":"minecraft:written_book",
  10. "functions":[
  11. {
  12. "function":"copy_nbt",
  13. "source": "this",
  14. "ops":[
  15. {
  16. "source": "Inventory[{id:\"minecraft:written_book\"}].tag",
  17. "target": "Item.tag",
  18. "op":"replace"
  19. }
  20. ]
  21. }
  22. ]
  23. }
  24. ]
  25. }
  26. ]
  27. }