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 678 mechanisms...
Nameowner
ObjectNPCTag
InputPlayerTag
Related Tags<NPCTag.owner> Returns the owner of the NPC as a PlayerTag, if any.
DescriptionSets the owner of the NPC. Provide no input to set the server as the owner.
Generated Example
- adjust <npc> owner:<player>
Sourcehttps://github.com/MINEZ/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1578