promotional bannermobile promotional banner

RPGMobs - API

A lightweight event-driven API for mod developers to hook into RPGMobs — listen to events, query mob state, and customize behaviour at runtime.

File Details

RPGMobs-API-1.2.0.zip

  • R
  • Mar 30, 2026
  • 4.05 MB
  • 31
  • Early Access

File Name

RPGMobs-API-1.2.0.zip

Supported Versions

  • Early Access

[1.2.0] - 2026-03-28

Added

  • IRPGMobsQueryAPI.getMatchedMobRuleKey(Ref, Store) - returns the mob rule key that matched this elite
  • IRPGMobsQueryAPI.getActiveAbilityId(Ref, Store) - returns the currently executing ability ID, or null if idle
  • IRPGMobsQueryAPI.getCombatStyle(Ref, Store) - returns the combat style name (Disciplined, Berserker, Tactical, Chaotic)
  • RPGMobsReconcileEvent now carries worldName and entityCount fields

Changed

  • RPGMobsScalingAppliedEvent converted from a record to a proper class extending RPGMobsEvent - now includes World, entityRef, tierIndex, and roleName consistent with all other events
  • Removed stale war_cry reference from RPGMobsAbilityStartedEvent Javadoc

[1.1.0] - 2026-03-16 (Unreleased)

Added

  • Professional Javadoc on all public classes, interfaces, and methods across the entire API surface
  • Usage examples in class-level Javadoc for RPGMobsAPI, IRPGMobsEventListener, and IRPGMobsQueryAPI
  • @since, @param, and @return tags on all public API methods
  • Javadoc on all 12 event classes documenting event semantics, mutability, and cancellation behavior

Changed

  • RPGMobsAggroEvent.targetRef() renamed to getTargetRef() for consistency with the getter naming convention used by all other event classes

Removed

  • AbilityType enum - was incomplete (only 3 of 11 abilities) and never referenced by the server plugin. Ability identification should use the string-based ability IDs from RPGMobsAbilityStartedEvent.getAbilityId() instead
  • IRPGMobsQueryAPI.getMigrationVersion(Ref<EntityStore>) - internal migration detail that should not be part of the public API
  • IRPGMobsQueryAPI.needsMigration(Ref<EntityStore>) - internal migration detail that should not be part of the public API
  • IRPGMobsQueryAPI.getSupportedTriggerTypes() - returned a hardcoded set that was never kept in sync with actual trigger sources
  • IRPGMobsQueryAPI.isTriggerTypeSupported(String) - convenience wrapper around the removed getSupportedTriggerTypes()