Class EntityBreakDoorEvent

All Implemented Interfaces:

public class EntityBreakDoorEvent extends EntityChangeBlockEvent
Called when an Entity breaks a door

Cancelling the event will cause the event to be delayed

  • Constructor Details

    • EntityBreakDoorEvent

      public EntityBreakDoorEvent(@NotNull LivingEntity entity, @NotNull Block targetBlock)
  • Method Details

    • getEntity

      @NotNull public LivingEntity getEntity()
      Description copied from class: EntityEvent
      Returns the Entity involved in this event
      getEntity in class EntityEvent
      Entity who is involved in this event