Interface FishingEvent.Stop
-
- All Superinterfaces:
Cancellable,Event,FishingEvent
- Enclosing interface:
- FishingEvent
public static interface FishingEvent.Stop extends FishingEvent, Cancellable
A specificFishingEventwhere theFishingBobberis retracted or "reeled in".If the
FishingBobberwas cast into water, anItemStackmay be hooked when it is retracted. If the event is not cancelled, Vanilla will send one or moreItemStackby spawningItems, and sending them moving towards the player.If the
FishingBobberhas an entity hooked, Vanilla will pull the hooked entity towards the caster, if the event is not cancelled.
-
-
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 List<Transaction<ItemStackSnapshot>>transactions()Gets a list ofTransactions for eachItemStackSnapshotthat will be spawned if this event is not cancelled.-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
Methods inherited from interface org.spongepowered.api.event.action.FishingEvent
fishHook
-
-
-
-
Method Detail
-
transactions
List<Transaction<ItemStackSnapshot>> transactions()
Gets a list ofTransactions for eachItemStackSnapshotthat will be spawned if this event is not cancelled.- Returns:
- The transactions
-
-