Interface ExpireEntityEvent

All Superinterfaces:
Event

public interface ExpireEntityEvent extends Event
Called when an Entity is expiring from the world. Examples may include when an Endermite expires, or when LightningBolt expires.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the Entity.

    Methods inherited from interface org.spongepowered.api.event.Event

    cause, context, source
  • Method Details

    • entity

      Entity entity()
      Gets the Entity.
      Returns:
      The entity