Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Model Engine 4 Model Engine 4
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 111
    • Issues 111
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • Model Engine 4Model Engine 4
  • Wiki
    • Api
    • Basic
  • Events

Events · Changes

Page history
Update Events.md authored Oct 22, 2023 by Ticxo's avatar Ticxo
Hide whitespace changes
Inline Side-by-side
Showing with 10 additions and 9 deletions
+10 -9
  • API/Basic/Events.md API/Basic/Events.md +10 -9
  • No files found.
API/Basic/Events.md
View page @ 85a198aa
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 |
| ModelMountEvent | Fired when an entity mounts on an Active Model | Yes | | ModelMountEvent | Fired when an entity mounts on an Active Model | Yes |
| 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 |
Clone repository
Home
FAQ / Common Issues
Commands & Permissions
Configuration
Modeling
  • Creating a Model
    • Hitbox & Eye Height
    • Shadow
  • Bone Behaviors
  • Animating a Model
  • Importing a Model
  • Scriptable Keyframes
  • Optional Tools
MythicMobs
  • Mechanics: Model
  • Mechanics: VFX
  • Conditions
  • Targeters
API
  • Basic
    • Apply / Remove Model
    • Play / Stop Animation
    • Configure Bone Behaviors
    • Mounting / Dismounting Model
    • Per-Player Model
    • Events
  • Advanced
    • Custom Base Entity
    • Custom Mount Controller
    • Custom Importer
    • Custom Bone Behaviors
    • Custom Script Reader
    • Custom Timeline
    • Custom Animation Handler
    • Custom Render Type
Technical
  • Terminology
  • Animation Systems
  • Mount Controllers
Promotional Material