Interface MobEvent

All Superinterfaces:
Event
All Known Subinterfaces:
CubeSplitEvent, MobChangeBlockEvent, MobConvertEvent, MobExplodeEvent, MobShearEvent, MobTargetEvent, MobTeleportEvent, SulfurCubeKickEvent, SulfurCubeSwallowEvent

public interface MobEvent extends Event
An Event about what a single mob does.

Subscribing to this interface observes every mob event.

Since:
0.1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    mob()
    Returns the mob involved in this event.
  • Method Details

    • mob

      Mob mob()
      Returns the mob involved in this event.
      Returns:
      the mob involved in this event
      Since:
      0.1.0