Skip to content

Commit 5d5596c

Browse files
committed
update to 25w06a (armor in equipment.<slot>; non breaking)
1 parent 3953e65 commit 5d5596c

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
execute if score .global tungsten.uid.chest matches -2..-1 run scoreboard players set .global tungsten.uid.chest 0
2-
data modify storage tungsten:temp c.attribute_modifiers set from entity @s Inventory[{Slot:102b}].components.minecraft:attribute_modifiers
2+
data modify storage tungsten:temp c.attribute_modifiers set from entity @s equipment.chest.components.minecraft:attribute_modifiers
33
execute store result score .new tungsten.uid.chest store result storage tungsten:temp c.attribute_modifiers[{type:"minecraft:luck",id:"tungsten:chest"}].amount double 0.0000000000009094947017729282 run scoreboard players add .global tungsten.uid.chest 1
44
function tungsten:replace_attributes/chest with storage tungsten:temp c
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
execute if score .global tungsten.uid.feet matches -2..-1 run scoreboard players set .global tungsten.uid.feet 0
2-
data modify storage tungsten:temp c.attribute_modifiers set from entity @s Inventory[{Slot:100b}].components.minecraft:attribute_modifiers
2+
data modify storage tungsten:temp c.attribute_modifiers set from entity @s equipment.feet.components.minecraft:attribute_modifiers
33
execute store result score .new tungsten.uid.feet store result storage tungsten:temp c.attribute_modifiers[{type:"minecraft:luck",id:"tungsten:feet"}].amount double 0.0000000000009094947017729282 run scoreboard players add .global tungsten.uid.feet 1
44
function tungsten:replace_attributes/feet with storage tungsten:temp c
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
execute if score .global tungsten.uid.head matches -2..-1 run scoreboard players set .global tungsten.uid.head 0
2-
data modify storage tungsten:temp c.attribute_modifiers set from entity @s Inventory[{Slot:103b}].components.minecraft:attribute_modifiers
2+
data modify storage tungsten:temp c.attribute_modifiers set from entity @s equipment.head.components.minecraft:attribute_modifiers
33
execute store result score .new tungsten.uid.head store result storage tungsten:temp c.attribute_modifiers[{type:"minecraft:luck",id:"tungsten:head"}].amount double 0.0000000000009094947017729282 run scoreboard players add .global tungsten.uid.head 1
44
function tungsten:replace_attributes/head with storage tungsten:temp c
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
execute if score .global tungsten.uid.legs matches -2..-1 run scoreboard players set .global tungsten.uid.legs 0
2-
data modify storage tungsten:temp c.attribute_modifiers set from entity @s Inventory[{Slot:101b}].components.minecraft:attribute_modifiers
2+
data modify storage tungsten:temp c.attribute_modifiers set from entity @s equipment.legs.components.minecraft:attribute_modifiers
33
execute store result score .new tungsten.uid.legs store result storage tungsten:temp c.attribute_modifiers[{type:"minecraft:luck",id:"tungsten:legs"}].amount double 0.0000000000009094947017729282 run scoreboard players add .global tungsten.uid.legs 1
44
function tungsten:replace_attributes/legs with storage tungsten:temp c
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
execute if score .global tungsten.uid.offhand matches -2..-1 run scoreboard players set .global tungsten.uid.offhand 0
2-
data modify storage tungsten:temp c.attribute_modifiers set from entity @s Inventory[{Slot:-106b}].components.minecraft:attribute_modifiers
2+
data modify storage tungsten:temp c.attribute_modifiers set from entity @s equipment.offhand.components.minecraft:attribute_modifiers
33
execute store result score .new tungsten.uid.offhand store result storage tungsten:temp c.attribute_modifiers[{type:"minecraft:luck",id:"tungsten:offhand"}].amount double 0.0000000000009094947017729282 run scoreboard players add .global tungsten.uid.offhand 1
44
function tungsten:replace_attributes/offhand with storage tungsten:temp c

pack.mcmeta

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"pack": {
3-
"pack_format": 64,
3+
"pack_format": 66,
44
"description": "Equipment swapping library\nDatapack by PuckiSilver"
55
}
66
}

0 commit comments

Comments
 (0)