- narrate "&7Sir Toast greets you, <target.name>!" +onInteract @trigger
- title{title=&4Phase Two;subtitle=&7It's angry now;stay=2s} @playersInRadius{r=30}
- sound{s=entity.wither.spawn;volume=2} +onSpawn @playersInRadius{r=30}
- command "give <target.name> diamond 1" +onDeath @trigger
& colour codes and placeholders.
| Mechanic | Usage | What it does |
|---|---|---|
actionbaralso sendactionmessage, actionmessage, am | actionbar "<text>" | Shows text above a player’s hotbar. |
barcreatealso baradd, createbar | barCreate{name=infobar;display=<text>;value=1;color=RED;style=SOLID} | Shows a boss bar to player targets. |
barremove | barRemove{name=infobar} | Removes a boss bar. |
barset | barSet{name=infobar;display=<text>;value=1} | Updates a boss bar’s text or value. |
commandalso cmd | command "<console command>" (asCaster/asTarget/asOp/requireTarget) | Runs a command for each target, as console by default. asCaster, asTarget and asOp change who runs it. |
messagejsonalso jsonmessage, jmsg, jm | messageJSON{message=<json>} | Sends a JSON text component to player targets. |
narratealso message, msg, m | narrate "<text>" | Sends a chat message to player targets. narrate "text" is the short form of narrate{message=text}. |
randommessagealso randommsg, rmsg, rm | randommessage{messages=<first>|<second>} | Sends one message picked at random from a |-separated list. |
sendresourcepackalso resourcepack | sendResourcePack{url=<url>;hash=<sha1>} | Sends a resource pack to a player. |
sendtoastalso advancementmessage, advmessage, toastmessage, toastmsg | sendToast{message=<text>;icon=diamond_sword;frame=challenge} | Shows an advancement-style toast to a player. |
soundalso s, playsound, effect:sound, e:s | sound{s=<sound key>;volume=1;pitch=1;category=master;radius=16} | Plays a sound at the target. |
stopsoundalso effect:stopsound, e:ss, ss | stopSound{sound=<key>} | Stops a sound playing for a player. |
titlealso sendtitle | title{title=<text>;subtitle=<text>;fadein=10;stay=3s;fadeout=10} | Shows a title and subtitle to player targets. MythicMobs’ fi, d and fo work for the timings. |
speak aura; see Auras. Holograms are under World & Blocks.