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. An animation ends when it can no longer affect the model. |
No |
BaseEntityInteractEvent | Fired when a model is being attacked or interacted | No |