public static interface FishingEvent.Hook extends FishingEvent, TargetEntityEvent, Cancellable
FishingEvent.Finish, FishingEvent.Hook, FishingEvent.Start, FishingEvent.Stop
Modifier and Type | Method and Description |
---|---|
Optional<Entity> |
getHookedEntity()
Gets the
Entity hooked, if available. |
EntitySnapshot |
getOriginalHookedEntity()
Gets the original hooked
Entity . |
void |
setHookedEntity(Entity entity)
Sets the
Entity hooked, if available. |
getFishHook, getOriginalFishHook
getCause
getTargetEntity
isCancelled, setCancelled