Denizen Script Tags


Tags are always written with a <between these marks>, and are critical to scripts, as the primary way to read data.
Learn about how tags work in The Beginner's Guide.


Showing 1 out of 2454 tags...
Name<NPCTag.is_fighting>
ReturnsElementTag(Boolean)
DescriptionReturns whether the NPC is currently targeting an entity for the Citizens internal punching pathfinder.
Not compatible with Sentinel.
Generated Example
- if <npc.is_fighting>:
    - narrate "it was true!"
- else:
    - narrate "it was false!"
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1203