public class ItemFishedEvent extends PlayerEvent
Cancelable
 Canceling the event will cause the player to receive no items at all.
 The hook will still take the damage specifiedPlayerEvent.BreakSpeed, PlayerEvent.Clone, PlayerEvent.HarvestCheck, PlayerEvent.ItemCraftedEvent, PlayerEvent.ItemPickupEvent, PlayerEvent.ItemSmeltedEvent, PlayerEvent.LoadFromFile, PlayerEvent.NameFormat, PlayerEvent.PlayerChangedDimensionEvent, PlayerEvent.PlayerLoggedInEvent, PlayerEvent.PlayerLoggedOutEvent, PlayerEvent.PlayerRespawnEvent, PlayerEvent.SaveToFile, PlayerEvent.StartTracking, PlayerEvent.StopTracking, PlayerEvent.VisibilityLivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.EyeHeightEvent.HasResult, Event.Result| コンストラクタと説明 | 
|---|
| ItemFishedEvent(java.util.List<ItemStack> stacks,
               int rodDamage,
               FishingBobberEntity hook) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| void | damageRodBy(int rodDamage)Specifies the amount of damage that the fishing rod should take. | 
| NonNullList<ItemStack> | getDrops()Use this to get the items the player will receive. | 
| FishingBobberEntity | getHookEntity()Use this to stuff related to the hook itself, like the position of the bobber. | 
| int | getRodDamage()Get the damage the rod will take. | 
getPlayergetEntityLivinggetEntitygetListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic ItemFishedEvent(java.util.List<ItemStack> stacks, int rodDamage, FishingBobberEntity hook)
public int getRodDamage()
public void damageRodBy(@Nonnegative
                        int rodDamage)
rodDamage - The damage the rod will take. Must be nonnegativepublic NonNullList<ItemStack> getDrops()
public FishingBobberEntity getHookEntity()