Zone Update Event Handling¶
Zone Update Event Dispatcher¶
- class CommonZoneUpdateEventDispatcherService¶
Bases:
CommonService,HasLogA service that dispatches zone update events.
Warning
Do not use this service directly to listen for events! Use the
CommonEventRegistryto listen for dispatched events.- property mod_identity¶
The identity of the mod that owns this property
Warning
Override this property with the
CommonModIdentityof your mod.This is a MUST override to allow for proper Exception Handling and Logging!
- Returns:
An instance of CommonModIdentity
- Return type:
- Raises:
NotImplementedError – Thrown when the property is not implemented.
- property ticks_since_last_zone_update¶
The amount of time that has passed since the last zone update.
- Returns:
The amount of time that has passed in milliseconds
- Return type:
int