Przeglądaj źródła

测试清理成书*7

HerobrineXia 6 lat temu
rodzic
commit
75ab39ba82
1 zmienionych plików z 20 dodań i 0 usunięć
  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"
                                 }
                             ]
                         }