Interface InteractEntityEvent
-
- All Superinterfaces:
Cancellable,Event,InteractEvent
- All Known Subinterfaces:
InteractEntityEvent.Primary,InteractEntityEvent.Secondary,InteractEntityEvent.Secondary.At,InteractEntityEvent.Secondary.On
public interface InteractEntityEvent extends InteractEvent, Cancellable
Base event for all interactions targeting anEntity.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceInteractEntityEvent.PrimaryAn event where the targeted entity is being interacted with the client's "primary" button.static interfaceInteractEntityEvent.SecondaryAn event where the targeted entity is being interacted with the client's "secondary" button.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Entityentity()Gets theEntity.-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
-