public static interface FishingEvent.Stop extends FishingEvent, Cancellable
FishingEvent where the FishHook is retracted
or "reeled in".
If the FishHook 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 FishHook has an entity hooked, Vanilla will pull
the hooked entity towards the caster, if the event is not cancelled.
FishingEvent.HookEntity, FishingEvent.Start, FishingEvent.Stop| Modifier and Type | Method and Description |
|---|---|
default List<Transaction<ItemStackSnapshot>> |
getItemStackTransaction()
Deprecated.
|
List<Transaction<ItemStackSnapshot>> |
getTransactions()
Gets a list of
Transactions for each ItemStackSnapshot
that will be spawned if this event is not cancelled. |
getFishHookgetCause, getContext, getSourceisCancelled, setCancelledList<Transaction<ItemStackSnapshot>> getTransactions()
Transactions for each ItemStackSnapshot
that will be spawned if this event is not cancelled.@Deprecated default List<Transaction<ItemStackSnapshot>> getItemStackTransaction()
getTransactions()Transactions for each ItemStackSnapshot
that will be spawned if this event is not cancelled.