Skip to content

Commit feeba17

Browse files
committed
replace replace with merge
1 parent 8281aef commit feeba17

File tree

13 files changed

+13
-13
lines changed

13 files changed

+13
-13
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
execute if score .global tungsten.uid.chest matches -2..-1 run scoreboard players set .global tungsten.uid.chest 0
22
execute store result score .new tungsten.uid.chest store result storage tungsten:player Item.tag.AttributeModifiers[{AttributeName:"minecraft:generic.luck",UUID:[I;12,42069,0,13]}].Amount double 0.000000000001 run scoreboard players add .global tungsten.uid.chest 1
3-
item modify entity @s armor.chest tungsten:replace_tags
3+
item modify entity @s armor.chest tungsten:merge_tags
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
execute if score .global tungsten.uid.feet matches -2..-1 run scoreboard players set .global tungsten.uid.feet 0
22
execute store result score .new tungsten.uid.feet store result storage tungsten:player Item.tag.AttributeModifiers[{AttributeName:"minecraft:generic.luck",UUID:[I;12,42069,0,15]}].Amount double 0.000000000001 run scoreboard players add .global tungsten.uid.feet 1
3-
item modify entity @s armor.feet tungsten:replace_tags
3+
item modify entity @s armor.feet tungsten:merge_tags
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
execute if score .global tungsten.uid.head matches -2..-1 run scoreboard players set .global tungsten.uid.head 0
22
execute store result score .new tungsten.uid.head store result storage tungsten:player Item.tag.AttributeModifiers[{AttributeName:"minecraft:generic.luck",UUID:[I;12,42069,0,12]}].Amount double 0.000000000001 run scoreboard players add .global tungsten.uid.head 1
3-
item modify entity @s armor.head tungsten:replace_tags
3+
item modify entity @s armor.head tungsten:merge_tags
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
execute if score .global tungsten.uid.legs matches -2..-1 run scoreboard players set .global tungsten.uid.legs 0
22
execute store result score .new tungsten.uid.legs store result storage tungsten:player Item.tag.AttributeModifiers[{AttributeName:"minecraft:generic.luck",UUID:[I;12,42069,0,14]}].Amount double 0.000000000001 run scoreboard players add .global tungsten.uid.legs 1
3-
item modify entity @s armor.legs tungsten:replace_tags
3+
item modify entity @s armor.legs tungsten:merge_tags
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
execute if score .global tungsten.uid.mainhand matches -2..-1 run scoreboard players set .global tungsten.uid.mainhand 0
22
execute store result score .new tungsten.uid.mainhand store result storage tungsten:player Item.tag.AttributeModifiers[{AttributeName:"minecraft:generic.luck",UUID:[I;12,42069,0,10]}].Amount double 0.000000000001 run scoreboard players add .global tungsten.uid.mainhand 1
3-
item modify entity @s weapon.mainhand tungsten:replace_tags
3+
item modify entity @s weapon.mainhand tungsten:merge_tags
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
execute if score .global tungsten.uid.offhand matches -2..-1 run scoreboard players set .global tungsten.uid.offhand 0
22
execute store result score .new tungsten.uid.offhand store result storage tungsten:player Item.tag.AttributeModifiers[{AttributeName:"minecraft:generic.luck",UUID:[I;12,42069,0,11]}].Amount double 0.000000000001 run scoreboard players add .global tungsten.uid.offhand 1
3-
item modify entity @s weapon.offhand tungsten:replace_tags
3+
item modify entity @s weapon.offhand tungsten:merge_tags

data/tungsten/functions/swap/chest.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ execute if score .new tungsten.uid.chest matches -1 run function tungsten:init/c
55
scoreboard players operation @s tungsten.uid.chest = .new tungsten.uid.chest
66
scoreboard players set .modified tungsten 0
77
function #tungsten:swap/chest
8-
execute if score .modified tungsten matches 1 run item modify entity @s armor.chest tungsten:replace_tags
8+
execute if score .modified tungsten matches 1 run item modify entity @s armor.chest tungsten:merge_tags

data/tungsten/functions/swap/feet.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ execute if score .new tungsten.uid.feet matches -1 run function tungsten:init/fe
55
scoreboard players operation @s tungsten.uid.feet = .new tungsten.uid.feet
66
scoreboard players set .modified tungsten 0
77
function #tungsten:swap/feet
8-
execute if score .modified tungsten matches 1 run item modify entity @s armor.feet tungsten:replace_tags
8+
execute if score .modified tungsten matches 1 run item modify entity @s armor.feet tungsten:merge_tags

data/tungsten/functions/swap/head.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ execute if score .new tungsten.uid.head matches -1 run function tungsten:init/he
55
scoreboard players operation @s tungsten.uid.head = .new tungsten.uid.head
66
scoreboard players set .modified tungsten 0
77
function #tungsten:swap/head
8-
execute if score .modified tungsten matches 1 run item modify entity @s armor.head tungsten:replace_tags
8+
execute if score .modified tungsten matches 1 run item modify entity @s armor.head tungsten:merge_tags

data/tungsten/functions/swap/legs.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ execute if score .new tungsten.uid.legs matches -1 run function tungsten:init/le
55
scoreboard players operation @s tungsten.uid.legs = .new tungsten.uid.legs
66
scoreboard players set .modified tungsten 0
77
function #tungsten:swap/legs
8-
execute if score .modified tungsten matches 1 run item modify entity @s armor.legs tungsten:replace_tags
8+
execute if score .modified tungsten matches 1 run item modify entity @s armor.legs tungsten:merge_tags

0 commit comments

Comments
 (0)