# lobby.button created via BDEngine

summon block_display ~ ~ ~ {Tags:["lobby.button","lobby.button_root"]}

execute as @e[tag=lobby.button_root,type=block_display,distance=..1,limit=1,sort=nearest] at @s run summon block_display ~ ~ ~ {Passengers:[{id:"minecraft:item_display",brightness:{sky:15,block:11},item:{id:"minecraft:heavy_core",count:1},item_display:"none",transformation:[0.7f,0f,0f,0f,0f,0f,0.7f,1.0625f,0f,-0.7f,0f,-0.25f,0f,0f,0f,1f],Tags:["lobby.button_0"]},{id:"minecraft:block_display",brightness:{sky:15,block:11},block_state:{Name:"minecraft:lodestone",Properties:{}},transformation:[0.5f,0f,0f,-0.25f,0f,0f,0.5f,0.8125f,0f,-0.5f,0f,0.3125f,0f,0f,0f,1f],Tags:["lobby.button_1"]}],Tags:["lobby.button"]}
$summon interaction ~ ~.81 ~ {Tags:["lobby.button"],width:0.5,height:0.5,data:{function:"$(function)"}}