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

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

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

+ 0 - 0
data/item/functions/comment/clear_book.mcfunction


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

@@ -0,0 +1 @@
+loot give @s loot item:comment/writable_book

+ 64 - 0
data/item/loot_tables/comment/writable_book.json

@@ -0,0 +1,64 @@
+{
+	"type":"minecraft:generic",
+	"pools":[
+		{
+		"rolls":1,
+		"entries":[
+				{	
+					"type":"item",
+					"name":"minecraft:writable_book",
+					"functions":[
+                        {
+						    "function":"set_name",
+						    "name":{
+                                "text": "",
+                                "color": "white",
+                                "extra": [
+                                    {
+                                        "selector": "@s",
+                                        "italic": false,
+                                        "color": "white"
+                                    },
+                                    {
+                                        "text":"的反馈书",
+                                        "italic":false,
+                                        "color":"gold"
+                                    }
+                                ]
+                            },
+                            "entity": "this"
+                        },
+                        {
+                            "function": "minecraft:set_lore",
+                            "lore":[
+                                {
+                                    "text":"请认真写反馈哦,",
+                                    "italic":false,
+                                    "color":"gray",
+                                    "extra": [
+                                        {
+                                            "selector": "@s",
+                                            "color":"gray",
+                                            "italic":false
+                                        },
+                                        {
+                                            "text":"!",
+                                            "color":"gray",
+                                            "italic":false
+                                        }
+                                    ]
+                                },
+                                {
+                                    "text":"不然小心被龙猫夹哟!",
+                                    "italic":false,
+                                    "color":"gray"
+                                }
+                            ],
+                            "entity":"this"
+                        }
+                    ]
+				}
+			]
+		}
+	]
+}

+ 1 - 1
data/ltw/functions/main/player_leave.mcfunction

@@ -10,4 +10,4 @@ execute if score $state mem matches 1.. if score $game_type mem matches 1 if sco
 execute if score $state mem matches 5 if score $mini_type mem matches 3 run function mini:hotpm/player_leave
 
 # FIXME : [010] 物品依然很偶尔给不了 [尝试过5tick改模式]
-# TODO : 摸新的大厅
+# TODO : 摸新的大厅