Просмотр исходного кода

Merge branch 'master' of https://github.com/LTCatt/LTW3

LTCatt 6 лет назад
Родитель
Сommit
c06f8384b9

+ 3 - 1
data/item/functions/comment/clear_book.mcfunction

@@ -1 +1,3 @@
-loot give @s loot item:comment/writable_book
+loot insert 10 6 2 loot item:comment/written_book
+clear @s written_book
+tellraw @s [{"text":">> ","color":"gold","bold":true},{"bold":false,"text":"您的反馈成功提交!"}]

+ 1 - 1
data/item/functions/comment/give_book.mcfunction

@@ -1,3 +1,3 @@
 loot give @s loot item:comment/writable_book
-tellraw @s [{"text":">> ","color":"gold","bold":true},{"bold":false,"text":"你获得了一本可以编辑的反馈书!"}]
+tellraw @s [{"text":">> ","color":"gold","bold":true},{"bold":false,"text":"你获得了一本可以编辑的反馈书!"}]
 tellraw @s [{"text":">> ","color":"gold","bold":true},{"bold":false,"text":"提交前请署名,书名请写反馈的主题!"}]

+ 2 - 2
data/item/loot_tables/comment/writable_book.json

@@ -42,14 +42,14 @@
                                             "italic":false
                                         },
                                         {
-                                            "text":"!",
+                                            "text":"!",
                                             "color":"gray",
                                             "italic":false
                                         }
                                     ]
                                 },
                                 {
-                                    "text":"不然小心被龙猫夹哟!",
+                                    "text":"不然小心被龙猫夹哟!",
                                     "italic":false,
                                     "color":"gray"
                                 }

+ 3 - 2
data/item/loot_tables/comment/written_book.json

@@ -33,13 +33,14 @@
                             "function": "set_name",
                             "entity": "this",
                             "name":{
-                                "text":"反馈主题:",
+                                "text":"反馈主题: ",
                                 "color":"aqua",
                                 "italic": false,
                                 "extra": [
                                     {
                                         "nbt":"Inventory[{id:\"minecraft:written_book\"}].tag.title",
-                                        "entity":"@s"
+                                        "entity":"@s",
+                                        "color":"white"
                                     }
                                 ]
                             }