Interface FishingEvent.HookEntity
-
- All Superinterfaces:
Cancellable
,Event
,FishingEvent
- Enclosing interface:
- FishingEvent
public static interface FishingEvent.HookEntity extends FishingEvent, Cancellable
Fired when anEntity
is hooked.CollideBlockEvent
is fired when aFishingBobber
becomes stuck in a block. This may be called multiple times beforeFishingEvent.Stop
is fired, such as in the case where the block theFishingBobber
is stuck in is broken.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.event.action.FishingEvent
FishingEvent.HookEntity, FishingEvent.Start, FishingEvent.Stop
-
-
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
-
Methods inherited from interface org.spongepowered.api.event.action.FishingEvent
fishHook
-
-