Explorar o código

测试清理成书again

HerobrineXia %!s(int64=6) %!d(string=hai) anos
pai
achega
5ab6b3dfeb
Modificáronse 1 ficheiros con 15 adicións e 10 borrados
  1. 15 10
      data/item/loot_tables/comment/written_book.json

+ 15 - 10
data/item/loot_tables/comment/written_book.json

@@ -26,18 +26,23 @@
                                     "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"
                                 }
                             ]
+                        },
+                        {
+                            "function": "set_name",
+                            "entity": "this",
+                            "name":{
+                                "text":"反馈主题:",
+                                "color":"aqua",
+                                "italic": false,
+                                "extra": [
+                                    {
+                                        "nbt":"Inventory[{id:\"minecraft:written_book\"}].tag.title",
+                                        "entity":"@s"
+                                    }
+                                ]
+                            }
                         }
                     ]
 				}