Interface FishingEvent.Stop
-
- All Superinterfaces:
Cancellable
,Event
,FishingEvent
- Enclosing interface:
- FishingEvent
public static interface FishingEvent.Stop extends FishingEvent, Cancellable
A specificFishingEvent
where theFishingBobber
is retracted or "reeled in".If the
FishingBobber
was cast into water, anItemStack
may be hooked when it is retracted. If the event is not cancelled, Vanilla will send one or moreItemStack
by spawningItem
s, and sending them moving towards the player.If the
FishingBobber
has 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 java.util.List<Transaction<ItemStackSnapshot>>
transactions()
Gets a list ofTransaction
s for eachItemStackSnapshot
that 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
java.util.List<Transaction<ItemStackSnapshot>> transactions()
Gets a list ofTransaction
s for eachItemStackSnapshot
that will be spawned if this event is not cancelled.- Returns:
- The transactions
-
-