tp @s ~ ~-0.01 ~
execute at @s if block ~ ~-0.01 ~ #ws:maid.passable run return run function ws:work/misc/tier2/maid/shatteredcup
execute at @s if block ~ ~ ~ #minecraft:wool_carpets run tp ~ ~0.0625 ~
scoreboard players set @s maid.item.health 3
execute store result entity @s Rotation[0] float 0.1 run random value -1800..1800
data merge entity @s {start_interpolation:-1,Tags:[maid.shards],item:{components:{"minecraft:custom_model_data":4},count:1,id:"minecraft:brown_stained_glass_pane"},transformation:{translation:[0.0f,0.5f,0.0f]}}
execute as @e[tag=maid.reward.cup,type=interaction] unless data entity @s Passengers[].id run tag @s add maid.restore.cup
execute at @e[tag=maid.restore.cup,limit=1,sort=random,type=interaction] summon item_display run function ws:work/misc/tier2/maid/restorecup
tag @e[tag=maid.restore.cup,type=interaction] remove maid.restore.cup