Changes
Page history
Basic API usage
authored
Sep 29, 2023
by
Ticxo
Hide whitespace changes
Inline
Side-by-side
API/Basic/Events.md
View page @
0a25cf62
WIP
\ No newline at end of file
Model Engine provides 7 bukkit events for various different actions.
| Event | Description | Cancelable |
|------------------------|----------------------------------------------------------------------------------------------------------|:----------:|
| ModelRegistrationEvent | Fired when the model generator enters and exits a phase, and when the generator has finished everything. | No |
| AddModelEvent | Fired when a model is about to be added to a Modeled Entity | Yes |
| RemoveModelEvent | Fired when a model is about to be removed from a Modeled Entity | Yes |
| ModelMountEvent | Fired when an entity mounts on an Active Model | Yes |
| ModelDismountEvent | Fired when an entity dismounts from an Active Model | Yes |
| AnimationPlayEvent | Fired when an animation is about to be played by an Active Model | Yes |
| AnimationEndEvent | Fired when an animation ends.
<br/>
An animation ends when it can no longer affect the model. | No |