how do you go about having a model send a command to the player to open a gui? ive tried to follow the guide on the site but im not makign sence of it.
info:
namespace: elitecreatures
items:
casino_decoration_v2_venezia_slot:
display_name: Venezia Slot
resource:
material: paper
generate: false
model_path: casino_decoration_v2/venezia_slot
behaviours:
furniture:
solid: false
fixed_rotation: true
entity: item_frame
hitbox:
length: 1
width: 2
height: 2
length_offset: 0
width_offset: -0.5
height_offset: 0
placeable_on:
walls: false
ceiling: false
floor: true
i have a gui ready to go that opens with the command
/gamling game blackjack