Displays
The display trigger places floating blocks, items and text in the world. You can move, turn and resize them smoothly
during the show.
Every display has a name. You create it once, then use the name in later cues to change it.
Create a display
display <name> block <location> <block>
display <name> item <location> <item>
display <name> text <location> <text...>
| Type | Example |
|---|---|
block | display cube block @stage diamond_block |
item | display sword item @stage diamond_sword |
text | display sign text @stage <gold><bold>Welcome! |
- Blocks can have block states:
oak_log[axis=x]. - A block display stands centered on the location, with its bottom at the location.
- Text uses MiniMessage colors and always faces the player.
- Creating a display with a name that already exists replaces it.
Change a display
| Form | What it does |
|---|---|
<name> move <location> [duration] | Glide to a new location. Default duration: 1s. |
<name> transform <scale> [rotation] [duration] | Resize and turn. Default rotation 0, duration 1s. |
<name> settext <text...> | Change the text of a text display |
<name> remove | Remove the display |
For transform:
scaleis the size:1is normal,2is twice as big,0.5is half.rotationis the angle in degrees around the vertical axis. It is the end angle, not an extra turn:90twice in a row turns only once.- To set a duration, you also need to give a rotation:
transform 2 0 3s.
Example
A diamond block rises from the stage, grows, spins and disappears.
/sc add finale 0s display cube block @stage diamond_block
/sc add finale 0s display cube move world 100 70 -20 3s
/sc add finale 3s display cube transform 3 180 2s
/sc add finale 5s display cube transform 3 360 2s
/sc add finale 8s display cube remove
Good to know
- Displays are not saved with the world. They disappear when the server restarts.
- When a show ends or is stopped, the displays it used are removed, unless another running show still uses them.
- Deleting the cue that created a display also removes the display.
/sc clearremoves all displays by hand.