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...
Nameselected_npc
ObjectPlayerTag
InputNPCTag
Related Tags<PlayerTag.selected_npc> Returns the NPCTag that the player currently has selected with '/npc select', null if no NPC selected.
DescriptionSets the NPC that the player has selected.
Generated Example
- adjust <player> selected_npc:<npc>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L4090