Skip to main content
LodeEntities fires plain Bukkit events that addons listen to like any other. They live in org.nexomaker.api.event.

LodeEntitiesMobSpawnEvent

Use it for region protection (no bosses in spawn), spawn limits, or logging. Cancelling removes the entity before its model and +onSpawn effects run.

NpcInteractEvent

The hook for NPC behaviour beyond what a dialog covers: open a shop inventory, gate an interaction behind quest progress, start a different dialog. Listen, cancel, and run your own logic.

LodeEntitiesReloadedEvent

Use it to refresh anything your addon derives from LodeEntities’ registries, such as cached mob lists or generated content.
This one may fire asynchronously. Hop back to the main thread before touching the world from a listener.

Listening

Standard Bukkit listeners, nothing special: register them in your addon’s onEnable as usual. For model-level events (a model becoming visible, a hitbox being hit, an animation keyframe signal), see the engine’s events in Models & Animation.