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.
    • Method Detail

      • getOutcome

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