Denizen Script Language Explanations


Language Explanations explain components of Denizen in a more direct and technical way than The Beginner's Guide.


Showing 1 out of 80 language explanations...
NameRaid Event Data
DescriptionEvery event related to village raids has a <context.raid> property, a MapTag wrapper around raid data (see 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Raid.html).
These events are Event:player triggers raid, Event:raid finishes, Event:raid spawns wave, and Event:raid stops.

The data format is as follows:
location: a LocationTag of the raid's center
heroes: a list of PlayerTags that have participated in the raid
raiders: a list of raider EntityTags that remain in the current wave
status: the current status of the raid. See 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Raid.RaidStatus.html
age: the raid's age (active time) as a DurationTag
level: the Bad Omen level that the raid was started with
spawned_groups: the number of raider groups spawned
total_groups: the number of groups planned to spawn or already spawned
health: the combined health of all current raiders
waves: the number of waves in the raid
GroupUseful Lists
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/events/world/RaidScriptEvent.java#L20