Update Events.md authored by Ticxo's avatar Ticxo
Model Engine provides 7 bukkit events for various different actions. Model Engine provides 7 bukkit events for various different actions.
| Event | Description | Cancelable | | Event | Description | Cancelable |
|------------------------|----------------------------------------------------------------------------------------------------------|:----------:| |-------------------------|----------------------------------------------------------------------------------------------------------|:----------:|
| ModelRegistrationEvent | Fired when the model generator enters and exits a phase, and when the generator has finished everything. | No | | 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 | | 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 | | RemoveModelEvent | Fired when a model is about to be removed from a Modeled Entity | Yes |
...@@ -9,3 +9,4 @@ Model Engine provides 7 bukkit events for various different actions. ...@@ -9,3 +9,4 @@ Model Engine provides 7 bukkit events for various different actions.
| ModelDismountEvent | Fired when an entity dismounts from 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 | | 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 | | AnimationEndEvent | Fired when an animation ends.<br/>An animation ends when it can no longer affect the model. | No |
| BaseEntityInteractEvent | Fired when a model is being attacked or interacted | No |