Interface FishingEvent.Stop
- All Superinterfaces:
Cancellable,Event,FishingEvent
- Enclosing interface:
FishingEvent
A specific
FishingEvent where the FishingBobber is retracted
or "reeled in".
If the FishingBobber was cast into water, an ItemStack may
be hooked when it is retracted. If the event is not cancelled, Vanilla
will send one or more ItemStack by spawning Items, 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
Modifier and TypeMethodDescriptionGets a list ofTransactions for eachItemStackSnapshotthat will be spawned if this event is not cancelled.Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelledMethods inherited from interface org.spongepowered.api.event.action.FishingEvent
fishHook
-
Method Details
-
transactions
List<Transaction<ItemStackSnapshot>> transactions()Gets a list ofTransactions for eachItemStackSnapshotthat will be spawned if this event is not cancelled.- Returns:
- The transactions
-