File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
data/tungsten/functions/tick Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 11execute store result score .new tungsten . uid run attribute @s generic . luck get 1000000000000.5
22execute store result score .new tungsten . uid . offhand run attribute @s minecraft:generic.luck modifier value get c-0-a455-0-b 1000000000000.5
3+ execute if score .new tungsten . uid matches 2147483647 run function tungsten:tick/check
4+ execute if score .new tungsten . uid matches 2147483647 run return 0
35scoreboard players operation .new tungsten . uid += .new tungsten . uid . offhand
46execute unless score .new tungsten . uid = @s tungsten . uid run function tungsten:tick/check
5- execute if score .new tungsten . uid matches 2147483647 if score @s tungsten . uid matches 2147483647 run function tungsten:tick/check
You can’t perform that action at this time.
0 commit comments