on fishorg.bukkit.event.player.PlayerFishEventPlayer1.0.0
Description
Fires when a player uses a fishing rod.
Variables
playerPlayer
NullableNo
The player who used the fishing rod
entityEntity
NullableYes
The caught entity, or null if nothing was caught
hookEntity
NullableNo
The fishing hook entity
itemItemStack
NullableYes
The fishing rod in the player's main hand, or null if empty
stateString
NullableNo
The fishing state: FISHING, CAUGHT_FISH, CAUGHT_ENTITY, IN_GROUND, FAILED_ATTEMPT, REEL_IN, BITE, or LURED
Examples
on fish: