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

+ 3 - 3
data/item/functions/bonus_item/gameparty/mixed/random.mcfunction

@@ -12,6 +12,6 @@ execute if score #quality mem matches ..55 run function item:bonus_item/gamepart
 # 绿色:30%
 execute if score #quality mem matches 56..85 run function item:bonus_item/gameparty/mixed/green
 # 蓝色:10%
-execute if score #quality mem matches 86..95 run function item:bonus_item/gameparty/mixed/blue
-# 紫色:5%
-execute if score #quality mem matches 96.. run function item:bonus_item/gameparty/mixed/purple
+execute if score #quality mem matches 86..98 run function item:bonus_item/gameparty/mixed/blue
+# 紫色:2%
+execute if score #quality mem matches 99.. run function item:bonus_item/gameparty/mixed/purple

+ 2 - 2
data/item/loot_tables/gameparty/mixed/blue.json

@@ -8,8 +8,8 @@
     },
     {
         "type": "minecraft:item",
-        "weight": 20,
-        "name": "minecraft:chest",
+        "weight": 25,
+        "name": "minecraft:heart_of_the_sea",
         "functions": [
             {
                 "function": "minecraft:set_nbt",

+ 8 - 8
data/item/loot_tables/gameparty/mixed/green.json

@@ -12,8 +12,8 @@
     },
     {
         "type": "minecraft:item",
-        "weight": 11,
-        "name": "minecraft:chest",
+        "weight": 13,
+        "name": "minecraft:heart_of_the_sea",
         "functions": [
             {
                 "function": "minecraft:set_nbt",
@@ -23,8 +23,8 @@
     },
     {
         "type": "minecraft:item",
-        "weight": 3,
-        "name": "minecraft:chest",
+        "weight": 4,
+        "name": "minecraft:heart_of_the_sea",
         "functions": [
             {
                 "function": "minecraft:set_nbt",
@@ -34,8 +34,8 @@
     },
     {
         "type": "minecraft:item",
-        "weight": 3,
-        "name": "minecraft:chest",
+        "weight": 4,
+        "name": "minecraft:heart_of_the_sea",
         "functions": [
             {
                 "function": "minecraft:set_nbt",
@@ -45,8 +45,8 @@
     },
     {
         "type": "minecraft:item",
-        "weight": 3,
-        "name": "minecraft:chest",
+        "weight": 4,
+        "name": "minecraft:heart_of_the_sea",
         "functions": [
             {
                 "function": "minecraft:set_nbt",

+ 4 - 10
data/item/loot_tables/gameparty/mixed/purple.json

@@ -1,15 +1,9 @@
 {"pools": [{"rolls": 1,"entries": [
 
-
-    {
-        "type": "minecraft:loot_table",
-        "weight": 100,
-        "name": "item:gameparty/item/purple"
-    },
     {
         "type": "minecraft:item",
-        "weight": 10,
-        "name": "minecraft:chest",
+        "weight": 1,
+        "name": "minecraft:heart_of_the_sea",
         "functions": [
             {
                 "function": "minecraft:set_nbt",
@@ -19,8 +13,8 @@
     },
     {
         "type": "minecraft:item",
-        "weight": 10,
-        "name": "minecraft:chest",
+        "weight": 1,
+        "name": "minecraft:heart_of_the_sea",
         "functions": [
             {
                 "function": "minecraft:set_nbt",

+ 1 - 1
data/item/tags/items/bonus.json

@@ -13,7 +13,7 @@
         "minecraft:nether_star",
         "minecraft:trident",
         "minecraft:stick",
-        "minecraft:chest",
+        "minecraft:heart_of_the_sea",
         "minecraft:elytra",
         "minecraft:firework_rocket",
         "minecraft:wooden_axe",