8 lines
458 B
Mcfunction
8 lines
458 B
Mcfunction
tellraw @a[scores={me-debugging=1..}] "undeadmaelys-core:assigner/count_custom_potions"
|
|
|
|
scoreboard players set $count me-core_uid 0
|
|
execute as @e[tag=Potion,tag=PotionAssigned] run scoreboard players add $count me-core_uid 1
|
|
scoreboard players operation @s me-core_uid = $count me-core_uid
|
|
data merge entity @s {Item:{tag:{Assigned:1b}}}
|
|
execute as @e[tag=Init,tag=Potion,tag=LovePotion] run scoreboard players operation @s me-core_uid = $count me-core_uid
|