LTCatt 5 лет назад
Родитель
Сommit
b7fb1c488e

+ 2 - 2
data/item/loot_tables/gameparty/score/white.json

@@ -33,7 +33,7 @@
     "functions": [
         {
             "function": "minecraft:set_nbt",
-            "tag": "{\"item_name\":\"{\\\"text\\\":\\\"小概率得分 +6\\\",\\\"color\\\":\\\"white\\\"}\",\"is_bonus\":1b,\"bonus_new\":1b,\"bonus_add_score\":0}"
+            "tag": "{\"item_name\":\"{\\\"text\\\":\\\"小概率得分 +5\\\",\\\"color\\\":\\\"white\\\"}\",\"is_bonus\":1b,\"bonus_new\":1b,\"bonus_add_score\":0}"
         }
     ]
 },
@@ -44,7 +44,7 @@
     "functions": [
         {
             "function": "minecraft:set_nbt",
-            "tag": "{\"item_name\":\"{\\\"text\\\":\\\"小概率得分 +6\\\",\\\"color\\\":\\\"white\\\"}\",\"is_bonus\":1b,\"bonus_new\":1b,\"bonus_add_score\":6}"
+            "tag": "{\"item_name\":\"{\\\"text\\\":\\\"小概率得分 +5\\\",\\\"color\\\":\\\"white\\\"}\",\"is_bonus\":1b,\"bonus_new\":1b,\"bonus_add_score\":5}"
         }
     ]
 },

+ 1 - 1
data/mini/functions/trade/game/paper_show.mcfunction

@@ -6,4 +6,4 @@ execute if data entity @s Inventory[{Slot:8b}] run scoreboard players set @s ite
 execute if data entity @s Inventory[{Slot:8b}] at @s run function item:pop_slot/return_item
 
 # 设置最后一格的物品
-replaceitem entity @s hotbar.8 paper{game_item:1b,display:{Name:'[{"text":"交易之纸","color":"aqua","italic":false}]',Lore:['[{"text":"奇物, 珍稀","italic":true,"color":"gray"}]','[{"color":"white","italic":false,"text":"在你握持该纸时, 一位村民"},{"text":" villager ","italic":true},{"color":"white","italic":false,"text":"将会出现在你周围 10 尺内"}]','[{"color":"white","italic":false,"text":"的一处尚未被占据的区域, 直到你不握持该纸时, 它会使用以"}]','[{"color":"white","italic":false,"text":"太化"},{"text":" etherealness ","color":"white","italic":true},{"color":"white","italic":false,"text":"进入以太位面并消失。"}]','[{"color":"white","italic":false,"text":"该村民被永久的浮空术"},{"text":" levitate ","color":"white","italic":true},{"color":"white","italic":false,"text":"影响, 且持续保持在与你相同"}]','[{"color":"white","italic":false,"text":"的高度。你可以穿过它所占据的空间, 且可以与它进行交易, 不"}]','[{"color":"white","italic":false,"text":"过对它的攻击会自动失手。它会通过所有豁免检定, 并且免疫所"}]','[{"color":"white","italic":false,"text":"有的伤害和异常状态。"}]']}}
+replaceitem entity @s hotbar.8 paper{game_item:1b,display:{Name:'[{"text":"交易契约","color":"aqua","italic":false}]',Lore:['[{"text":"奇物, 珍稀","italic":true,"color":"gray"}]','[{"color":"white","italic":false,"text":"在你握持该纸时, 一位村民"},{"text":" villager ","italic":true},{"color":"white","italic":false,"text":"将会出现在你周围 10 尺内"}]','[{"color":"white","italic":false,"text":"的一处尚未被占据的区域, 直到你不握持该纸时, 它会使用以"}]','[{"color":"white","italic":false,"text":"太化"},{"text":" etherealness ","color":"white","italic":true},{"color":"white","italic":false,"text":"进入以太位面并消失。"}]','[{"color":"white","italic":false,"text":"该村民被永久的浮空术"},{"text":" levitate ","color":"white","italic":true},{"color":"white","italic":false,"text":"影响, 且持续保持在与你相同"}]','[{"color":"white","italic":false,"text":"的高度。你可以穿过它所占据的空间, 且可以与它进行交易, 不"}]','[{"color":"white","italic":false,"text":"过对它的攻击会自动失手。它会通过所有豁免检定, 并且免疫所"}]','[{"color":"white","italic":false,"text":"有的伤害和异常状态。"}]']}}

+ 1 - 1
data/mini/functions/trade/player_intro.mcfunction

@@ -2,7 +2,7 @@
 tp @s[team=!debugging] 1013.47 247.63 5045.62 -178.86 17.18
 worldborder set 1000000
 effect give @s[team=!debugging] night_vision 1000000 0 true
-tellraw @s ["",{"text":"\n >> 贸易专家 >>\n\n","color":"gold","bold":true}," 手持交易之纸唤出村民, 与村民交易, 尽快获取绿宝石!\n 每项交易都可以进行 2 次, 进行交易可以增加经验值, 解锁更多交易!\n"]
+tellraw @s ["",{"text":"\n >> 贸易专家 >>\n\n","color":"gold","bold":true}," 手持交易契约唤出村民, 与村民交易, 尽快获取绿宝石!\n 每项交易都可以进行 2 次, 进行交易可以增加经验值, 解锁更多交易!\n"]
 tellraw @s ["",{"text": " <积分制> ","color":"red","bold": true}, {"text":"太阳落山时游戏即会结束, 然后根据持有的绿宝石数排名。","color":"gray"}]
 tellraw @s ["",{"text": " <PVE> ","color":"light_purple","bold": true}, {"text":"无法攻击其他玩家, 死亡不掉落且能立即复活。","color":"gray"}]
 tellraw @s ["",{"text": " <早期测试> ","color":"dark_red","bold": true}, {"text":"此游戏目前还在早期测试, 什么鬼事情都有可能发生!","color":"dark_red"}]

+ 23 - 3
data/mini/loot_tables/diamond.json

@@ -14,7 +14,17 @@
     {
         "type": "minecraft:item",
         "weight": 1,
-        "name": "minecraft:diamond"
+        "name": "minecraft:diamond",
+        "functions": [
+          {
+            "function": "minecraft:set_count",
+            "count": {
+              "min": 1.0,
+              "max": 2.0,
+              "type": "minecraft:uniform"
+            }
+          }
+        ]
     },
     {
         "type": "minecraft:item",
@@ -25,7 +35,7 @@
             "function": "minecraft:set_count",
             "count": {
               "min": 2.0,
-              "max": 4.0,
+              "max": 3.0,
               "type": "minecraft:uniform"
             }
           }
@@ -34,7 +44,17 @@
     {
         "type": "minecraft:item",
         "weight": 1,
-        "name": "minecraft:book"
+        "name": "minecraft:book",
+        "functions": [
+          {
+            "function": "minecraft:set_count",
+            "count": {
+              "min": 1.0,
+              "max": 3.0,
+              "type": "minecraft:uniform"
+            }
+          }
+        ]
     }
     
 ]}]}

+ 4 - 4
data/mini/loot_tables/trade_s.json

@@ -79,7 +79,7 @@
                             "functions": [
                                 {
                                     "function": "set_nbt",
-                                    "tag": "{buy:{id:\"emerald\",Count:6}}"
+                                    "tag": "{buy:{id:\"emerald\",Count:5}}"
                                 },
                                 {
                                     "function": "set_nbt",
@@ -113,7 +113,7 @@
                                 },
                                 {
                                     "function": "set_nbt",
-                                    "tag":"{sell:{id:\"stone\",Count:4}}"
+                                    "tag":"{sell:{id:\"stone\",Count:5}}"
                                 },
                                 {
                                     "function": "set_nbt",
@@ -143,7 +143,7 @@
                                 },
                                 {
                                     "function": "set_nbt",
-                                    "tag":"{sell:{id:\"oak_log\",Count:4}}"
+                                    "tag":"{sell:{id:\"oak_log\",Count:5}}"
                                 },
                                 {
                                     "function": "set_nbt",
@@ -173,7 +173,7 @@
                                 },
                                 {
                                     "function": "set_nbt",
-                                    "tag":"{sell:{id:\"cobblestone\",Count:8}}"
+                                    "tag":"{sell:{id:\"cobblestone\",Count:10}}"
                                 },
                                 {
                                     "function": "set_nbt",