Aller au contenu principal

corpse_waypoint

Shows the distance and direction to the player's own corpse on the action bar.

Only players who actually have a corpse in the same world are in this audience, so the waypoint appears on death and disappears on its own once they recover it.

Fields

FieldTypeDefaultDescription
childrenList<Ref<Audience>>emptyEntries shown to the filtered audience.
formatVar<String><red>☠ <white><distance>m <gray><direction>Action bar text.
invertedBoolfalseInvert the filter.

Placeholders in format

PlaceholderDescription
<distance>Horizontal distance to the corpse, in blocks.
<direction>An arrow (↑ ↗ → ↘ ↓ ↙ ← ↖) pointing toward the corpse, relative to where the player is looking.

How could this be used?

Give players a fair chance to find where they died without a map marker system.