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 interface
InteractEntityEvent.Primary
An event where the targeted entity is being interacted with the client's "primary" button.static interface
InteractEntityEvent.Secondary
An 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 Entity
entity()
Gets theEntity
.-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
-