| Name | entity unleashed because reason |
| Event Lines | <entity> unleashed (because <reason>) |
| Triggers | when an entity is unleashed. |
| Generated Examples | after mob unleashed because reason:
on parrot unleashed because reason: |
| Has NPC | when the entity being unleashed is an NPC. |
| Contexts | <context.entity> returns the EntityTag.
<context.reason> returns an ElementTag of the reason for the unleashing.
Reasons include DISTANCE, HOLDER_GONE, PLAYER_UNLEASH, and UNKNOWN
|
| Has Location | True - This adds the switches 'in:<area>', 'location_flagged:<flag>', ... |
| Group | Entity |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/events/entity/EntityUnleashedScriptEvent.java#L13 |