Denizen Script Commands


Commands are always written with a '-' before them, and are the core component of any script, the primary way to cause things to happen.
Learn about how commands work in The Beginner's Guide.


Showing 1 out of 184 commands...
NamePose
Syntaxpose (add/remove/{assume}) [id:<name>] (player/{npc}) (<location>)
Short DescriptionRotates the player or NPC to match a pose, or adds/removes an NPC's poses.
Full DescriptionMakes a player or NPC assume the position of a pose saved on an NPC, removes a
pose with a specified ID from the current linked NPC, or adds a pose to the NPC
with an ID and a location, although the only thing that matters in the location
is the pitch and yaw.
Related Tags<NPCTag.has_pose[<name>]> Returns true if the NPC has the specified pose, otherwise returns false.
<NPCTag.pose[<name>]> Returns the pose as a LocationTag with x, y, and z set to 0, and the world set to the first (...)
Usage Example
# Make an NPC assume a pose.
- pose id:MyPose1
Usage Example
# Add a pose to an NPC. (Note that only the last 2 numbers matter)
- pose add id:MyPose2 0,0,0,-2.3,5.4
Usage Example
# Remove a pose from an NPC.
- pose remove id:MyPose1
Groupnpc
RequiresCitizens
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/npc/PoseCommand.java#L25