Class EntityEvent.Removed

java.lang.Object
dev.myriadclient.api.event.events.EntityEvent
dev.myriadclient.api.event.events.EntityEvent.Removed
Enclosing class:
EntityEvent

public static final class EntityEvent.Removed extends EntityEvent
An entity is about to be removed; it's still in the world while handlers run.
  • Constructor Details

    • Removed

      @Internal public Removed(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity.RemovalReason reason)
      Core's; only Myriad makes these.
  • Method Details

    • reason

      public net.minecraft.world.entity.Entity.RemovalReason reason()
      Why: killed, discarded, or unloaded (out of range, or a dimension change).