Package cn.nukkit.event.player
Class PlayerFishEvent
java.lang.Object
cn.nukkit.event.Event
cn.nukkit.event.player.PlayerEvent
cn.nukkit.event.player.PlayerFishEvent
- All Implemented Interfaces:
Cancellable
An event that is called when player catches a fish
- Author:
- PetteriM1
-
Field Summary
Fields inherited from class cn.nukkit.event.player.PlayerEvent
player
-
Constructor Summary
ConstructorDescriptionPlayerFishEvent
(Player player, EntityFishingHook hook, Item loot, int experience, Vector3 motion) -
Method Summary
Modifier and TypeMethodDescriptionint
static HandlerList
getHook()
getLoot()
void
setExperience
(int experience) void
void
Methods inherited from class cn.nukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class cn.nukkit.event.Event
getEventName, isCancelled, setCancelled, setCancelled
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cn.nukkit.event.Cancellable
isCancelled, setCancelled, setCancelled
-
Constructor Details
-
PlayerFishEvent
@Since("1.5.0.0-PN") public PlayerFishEvent(Player player, EntityFishingHook hook, Item loot, int experience, Vector3 motion)
-
-
Method Details
-
getHandlers
-
getHook
-
getLoot
-
setLoot
-
getExperience
-
setExperience
-
getMotion
-
setMotion
-