# summon armor stand fake potion execute at @s run summon minecraft:armor_stand ~ ~1 ~ {Invisible:1b,OnGround:0b,Tags:["Potion","LovePotion","Init"]} # add one more potion to the potion counter scoreboard players add $potion_count me-core_uid 1 scoreboard players operation @s me-core_uid = $potion_count me-core_uid execute as @e[tag=Init,tag=Potion] run scoreboard players operation @s me-core_uid = $potion_count me-core_uid # tell self that has an id so it can be tracked data merge entity @s {Item:{tag:{Assigned:1b}}} execute as @e[tag=Init,tag=Potion,tag=LovePotion] run tag @s remove Init