Interface FishingEvent.HookEntity
-
- All Superinterfaces:
Cancellable,Event,FishingEvent
- Enclosing interface:
- FishingEvent
public static interface FishingEvent.HookEntity extends FishingEvent, Cancellable
Fired when anEntityis hooked.CollideBlockEventis fired when aFishingBobberbecomes stuck in a block. This may be called multiple times beforeFishingEvent.Stopis fired, such as in the case where the block theFishingBobberis 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 Entityentity()Gets theEntity.-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
Methods inherited from interface org.spongepowered.api.event.action.FishingEvent
fishHook
-
-