| Name | generic game event |
| Event Lines | generic game event |
| Triggers | when the minecraft world experiences a generic minecraft game event. This is normally used for sculk sensors. |
| Generated Examples | on generic game event:
after generic game event: |
| Switches | type:<game_event_name> to only process the event when a specific game event is fired. |
| Contexts | <context.location> returns the location of the event.
<context.entity> returns the entity that triggered the event, if any.
<context.game_event> returns the name of the Minecraft game event, for example "minecraft:block_change". See https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/GameEvent.html.
<context.radius> returns the radius, in blocks, that the event is broadcast to.
|
| Cancellable | True - This adds <context.cancelled> and determine 'cancelled' or 'cancelled:false' |
| Has Location | True - This adds the switches 'in:<area>', 'location_flagged:<flag>', ... |
| Group | World |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/events/world/GenericGameEventScriptEvent.java#L16 |