Interface ISecurityVillagersInteractProtectionEvent

All Superinterfaces:
Cancellable, SecurityVillagersEvent
All Known Implementing Classes:
SecurityVillagersInteractProtectionEvent

public interface ISecurityVillagersInteractProtectionEvent extends SecurityVillagersEvent, Cancellable
  • Method Details

    • getEntity

      @NotNull @NotNull org.bukkit.entity.Entity getEntity()
      Get the interacted entity
      Returns:
      the Entity
    • getInteractor

      @NotNull @NotNull org.bukkit.entity.Player getInteractor()
      Get who is interacting with the entity
      Returns:
      the Player interactor
    • getInteractType

      @NotNull @NotNull InteractType getInteractType()
      Get the type of interaction
      Returns:
      the InteractType