on right click with gray terracotta:
cancel event
set {test} to event-block
command testtest:
permission: op
trigger:
spawn item display at player's location
set {_data} to block data of {test}
set {_display} to last spawned item display
set display scale of {_display} to vector(1,1,1)
set display item of {_display} to {test}
set block data of {_display} to {_data}
wait 2 seconds
kill {_display}
What I'm trying to do is spawn a item display with the correct rotation of the stair but every time it spawns it incorrectly anyone know why