Denizen Script Mechanisms


Mechanisms are found in object properties, the 'adjust' command, and similar. These are used to change the state of an object.
Learn about how mechanisms work in The Beginner's Guide.


Showing 1 out of 644 mechanisms...
Namelast_death_location
ObjectPlayerTag
InputLocationTag
Related Tags<PlayerTag.last_death_location> Returns the location where the player last died, if any. (...)
DescriptionSets the player's last death location, note that this only updates clientside when the player respawns.
Works with offline players.
See also Mechanism:PlayerTag.refresh_player.
Generated Example
- adjust <player> last_death_location:<npc.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2589