Class EntityBreakByEntityEvent

All Implemented Interfaces:
Cancellable

@NullMarked public class EntityBreakByEntityEvent extends EntityBreakEvent
  • Constructor Details

  • Method Details

    • getRemover

      public Entity getRemover()
      Gets the entity that removed the entity.
      Returns:
      the entity that removed the entity
    • getDamageSource

      public DamageSource getDamageSource()
      Gets the DamageSource that caused the entity to be removed.
      Returns:
      the damage source