LTCatt 6 лет назад
Родитель
Сommit
41a243ac95
2 измененных файлов с 3 добавлено и 2 удалено
  1. 2 2
      data/item/loot_tables/gameparty/ranks/white.json
  2. 1 0
      data/item/tags/items/bonus.json

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

@@ -14,11 +14,11 @@
 {
 {
     "type": "minecraft:item",
     "type": "minecraft:item",
     "weight": 4,
     "weight": 4,
-    "name": "minecraft:golden_apple",
+    "name": "minecraft:potion",
     "functions": [
     "functions": [
         {
         {
             "function": "minecraft:set_nbt",
             "function": "minecraft:set_nbt",
-            "tag": "{\"item_name\":\"{\\\"text\\\":\\\"跳跃提升 II \\n(0:20)\\\",\\\"color\\\":\\\"white\\\"}\",\"is_bonus\":1b,\"bonus_new\":1b,\"bonus_return\":1b,\"CustomPotionEffects\":[{\"Id\":8,\"Amplifier\":1,\"Duration\":400}]}"
+            "tag": "{\"item_name\":\"{\\\"text\\\":\\\"跳跃提升 II \\n(0:20)\\\",\\\"color\\\":\\\"white\\\"}\",\"is_bonus\":1b,\"bonus_new\":1b,\"bonus_return\":1b}"
         }
         }
     ]
     ]
 },
 },

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

@@ -1,5 +1,6 @@
 {
 {
     "values": [
     "values": [
+        "minecraft:potion",
         "minecraft:iron_axe",
         "minecraft:iron_axe",
         "minecraft:ender_pearl",
         "minecraft:ender_pearl",
         "minecraft:stone_sword",
         "minecraft:stone_sword",