LTCatt 6 лет назад
Родитель
Сommit
5507c43d06

+ 3 - 1
data/item/functions/bonus_item/pickup.mcfunction

@@ -2,4 +2,6 @@
 # 执行者为 System
 
 execute if score $state mem matches 7 as @a[tag=pickup_player] run function ltw:state/7/pickup
-tag @a remove pickup_player
+tag @a remove pickup_player
+
+# FIXME : [010] 标记 bonus_clear_nbt 的物品仍然残留 NBT

+ 4 - 8
data/item/loot_tables/gameparty/normal/white.json

@@ -105,10 +105,6 @@
     "weight": 2,
     "name": "minecraft:bow",
     "functions": [
-        {
-            "function": "minecraft:set_damage",
-            "damage":{"min": 0.01, "max": 0.02}
-        },
         {
             "function": "minecraft:set_nbt",
             "tag": "{\"item_name\":\"{\\\"text\\\":\\\"<冲击 I> 弓\\\",\\\"color\\\":\\\"white\\\"}\",\"is_bonus\":1b,\"bonus_new\":1b,\"bonus_return\":1b,\"Enchantments\":[{\"id\":\"punch\",\"lvl\":1}],\"display\":{\"Name\":\"{\\\"text\\\":\\\"<冲击 I> 弓\\\",\\\"italic\\\":0,\\\"color\\\":\\\"white\\\"}\"}}"
@@ -132,7 +128,7 @@
 },
 {
     "type": "minecraft:item",
-    "weight": 0.67,
+    "weight": 1,
     "name": "minecraft:netherite_helmet",
     "functions": [
         {
@@ -143,7 +139,7 @@
 },
 {
     "type": "minecraft:item",
-    "weight": 0.67,
+    "weight": 1,
     "name": "minecraft:netherite_chestplate",
     "functions": [
         {
@@ -154,7 +150,7 @@
 },
 {
     "type": "minecraft:item",
-    "weight": 0.67,
+    "weight": 1,
     "name": "minecraft:netherite_leggings",
     "functions": [
         {
@@ -165,7 +161,7 @@
 },
 {
     "type": "minecraft:item",
-    "weight": 0.67,
+    "weight": 1,
     "name": "minecraft:netherite_boots",
     "functions": [
         {