瀏覽代碼

测试清理成书*7

HerobrineXia 6 年之前
父節點
當前提交
75ab39ba82
共有 1 個文件被更改,包括 20 次插入 和 0 次删除
  1. 20 0
      data/item/loot_tables/comment/written_book.json

+ 20 - 0
data/item/loot_tables/comment/written_book.json

@@ -16,6 +16,26 @@
                                     "source": "Inventory[{id:\"minecraft:written_book\"}].tag.pages",
                                     "target": "pages",
                                     "op":"replace"
+                                },
+                                {
+                                    "source": "Inventory[{id:\"minecraft:written_book\"}].tag.author",
+                                    "target": "author",
+                                    "op":"replace"
+                                },
+                                {
+                                    "source": "Inventory[{id:\"minecraft:written_book\"}].tag.title",
+                                    "target": "title",
+                                    "op":"replace"
+                                },
+                                {
+                                    "source": "Inventory[{id:\"minecraft:written_book\"}].tag.display.Name",
+                                    "target": "display.Name",
+                                    "op":"replace"
+                                },
+                                {
+                                    "source": "Inventory[{id:\"minecraft:written_book\"}].tag.title",
+                                    "target": "display.Lore",
+                                    "op":"append"
                                 }
                             ]
                         }