PlayerFishEvent
Cancellable authoritative fishing transition; a catch may replace its bounded item and experience result.
Bedriox\Api\Event\Player\PlayerFishEvent
classBedriox\Api\Event\Player
Public methods
__construct(Bedriox\Api\Player\Player $player, int $hookRuntimeEntityId, Bedriox\Api\Event\Player\PlayerFishState $state, ?Bedriox\Api\Inventory\ItemStack $caughtItem = null, int $experience = 0)Typed public method.
caughtItem(): ?Bedriox\Api\Inventory\ItemStackTyped public method.
setCaughtItem(?Bedriox\Api\Inventory\ItemStack $caughtItem): voidTyped public method.
experience(): intTyped public method.
setExperience(int $experience): voidTyped public method.
