public static class PlayerInteractEvent.EntityInteract extends PlayerInteractEvent
PlayerInteractEvent.EntityInteractSpecific is not EnumActionResult#SUCCESS.
 This event's state affects whether Entity.processInitialInteract(net.minecraft.entity.player.PlayerEntity, net.minecraft.util.Hand) and Item.itemInteractionForEntity(net.minecraft.item.ItemStack, net.minecraft.entity.player.PlayerEntity, net.minecraft.entity.LivingEntity, net.minecraft.util.Hand) are called.
 Let result be EnumActionResult#SUCCESS if Entity.processInitialInteract(net.minecraft.entity.player.PlayerEntity, net.minecraft.util.Hand) or Item.itemInteractionForEntity(net.minecraft.item.ItemStack, net.minecraft.entity.player.PlayerEntity, net.minecraft.entity.LivingEntity, net.minecraft.util.Hand) return true,
 or PlayerInteractEvent.cancellationResult if the event is cancelled.
 If we are on the client and result is not EnumActionResult#SUCCESS, the client will then try PlayerInteractEvent.RightClickItem.PlayerInteractEvent.EntityInteract, PlayerInteractEvent.EntityInteractSpecific, PlayerInteractEvent.LeftClickBlock, PlayerInteractEvent.LeftClickEmpty, PlayerInteractEvent.RightClickBlock, PlayerInteractEvent.RightClickEmpty, PlayerInteractEvent.RightClickItemPlayerEvent.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| コンストラクタと説明 | 
|---|
| EntityInteract(PlayerEntity player,
              Hand hand,
              Entity target) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| Entity | getTarget() | 
getCancellationResult, getFace, getHand, getItemStack, getPos, getSide, getWorld, setCancellationResultgetPlayergetEntityLivinggetEntitygetListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic EntityInteract(PlayerEntity player, Hand hand, Entity target)
public Entity getTarget()