Class LivingConversionEvent.Post

Enclosing class:
LivingConversionEvent

public static class LivingConversionEvent.Post extends LivingConversionEvent
LivingConversionEvent.Post is triggered when an entity is replacing itself with another entity. The old living entity is likely to be removed right after this event.
  • Field Details Link icon

  • Constructor Details Link icon

  • Method Details Link icon

    • getOutcome Link icon

      public LivingEntity getOutcome()
      Gets the finalized new entity (with all data like potion effect and equipments set)
      Returns:
      the finalized new entity