Ver código fonte

修复无限加分 Bug

LTCatt 6 anos atrás
pai
commit
4720e6a4a6

+ 0 - 21
data/item/loot_tables/chests/test.json

@@ -1,21 +0,0 @@
-{
-    "type": "minecraft:chest",
-    "pools": [
-      {
-        "rolls": 1,
-        "entries": [
-          {
-            "type": "minecraft:item",
-            "weight": 1,
-            "functions": [
-              {
-                "function": "minecraft:set_nbt",
-                "tag": "{\"item_name\":\"{\\\"text\\\":\\\"破损的钓鱼竿\\\",\\\"color\\\":\\\"green\\\"}\",\"color\":\"green\",\"is_bonus\":1b,\"bonus_new\":1b,\"bonus_return\":1b,\"bonus_give_items\":[{\"id\":\"minecraft:arrow\",\"Count\":64,\"tag\":{\"is_bonus\":1b,\"bonus_clear_nbt\":1b}}]}"
-              }
-            ],
-            "name": "minecraft:bow"
-          }
-        ]
-      }
-    ]
-  }

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

@@ -1,5 +1,6 @@
 {
     "values": [
+        "minecraft:nether_star",
         "minecraft:fishing_rod",
         "minecraft:bow"
     ]