| Modifier and Type | Method and Description | 
|---|---|
| EnumActionResult | PlayerControllerMP. interactWithEntity(EntityPlayer player,
                  Entity target,
                  EnumHand hand) | 
| EnumActionResult | PlayerControllerMP. interactWithEntity(EntityPlayer player,
                  Entity target,
                  RayTraceResult ray,
                  EnumHand hand) | 
| EnumActionResult | PlayerControllerMP. processRightClick(EntityPlayer player,
                 World worldIn,
                 EnumHand hand) | 
| EnumActionResult | PlayerControllerMP. processRightClickBlock(EntityPlayerSP player,
                      WorldClient worldIn,
                      BlockPos pos,
                      EnumFacing direction,
                      Vec3d vec,
                      EnumHand hand) | 
| Modifier and Type | Method and Description | 
|---|---|
| EnumActionResult | Entity. applyPlayerInteraction(EntityPlayer player,
                      Vec3d vec,
                      EnumHand hand) | 
| Modifier and Type | Method and Description | 
|---|---|
| EnumActionResult | EntityArmorStand. applyPlayerInteraction(EntityPlayer player,
                      Vec3d vec,
                      EnumHand hand) | 
| Modifier and Type | Method and Description | 
|---|---|
| EnumActionResult | EntityPlayer. interactOn(Entity p_190775_1_,
          EnumHand p_190775_2_) | 
| Modifier and Type | Method and Description | 
|---|---|
| EnumActionResult | ItemSnow. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemSlab. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemBanner. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemRedstone. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemSkull. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemSeedFood. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemStack. onItemUse(EntityPlayer playerIn,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing side,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemSpade. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemBlock. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | Item. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemHoe. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemDye. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemMinecart. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemDoor. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemEnderEye. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemBed. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemFlintAndSteel. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemBlockSpecial. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemFireball. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemSign. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemRecord. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemArmorStand. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemLead. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemSeeds. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemFirework. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemHangingEntity. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemEndCrystal. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | ItemMonsterPlacer. onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
| EnumActionResult | Item. onItemUseFirst(EntityPlayer player,
              World world,
              BlockPos pos,
              EnumFacing side,
              float hitX,
              float hitY,
              float hitZ,
              EnumHand hand)This is called when the item is used, before the block is activated. | 
| EnumActionResult | ItemStack. onItemUseFirst(EntityPlayer playerIn,
              World worldIn,
              BlockPos pos,
              EnumHand hand,
              EnumFacing side,
              float hitX,
              float hitY,
              float hitZ) | 
| Modifier and Type | Method and Description | 
|---|---|
| EnumActionResult | DemoPlayerInteractionManager. processRightClick(EntityPlayer player,
                 World worldIn,
                 ItemStack stack,
                 EnumHand hand) | 
| EnumActionResult | PlayerInteractionManager. processRightClick(EntityPlayer player,
                 World worldIn,
                 ItemStack stack,
                 EnumHand hand) | 
| EnumActionResult | DemoPlayerInteractionManager. processRightClickBlock(EntityPlayer player,
                      World worldIn,
                      ItemStack stack,
                      EnumHand hand,
                      BlockPos pos,
                      EnumFacing facing,
                      float hitX,
                      float hitY,
                      float hitZ) | 
| EnumActionResult | PlayerInteractionManager. processRightClickBlock(EntityPlayer player,
                      World worldIn,
                      ItemStack stack,
                      EnumHand hand,
                      BlockPos pos,
                      EnumFacing facing,
                      float hitX,
                      float hitY,
                      float hitZ) | 
| Modifier and Type | Field and Description | 
|---|---|
| private EnumActionResult | ActionResult. type | 
| Modifier and Type | Method and Description | 
|---|---|
| EnumActionResult | ActionResult. getType() | 
| static EnumActionResult | EnumActionResult. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static EnumActionResult[] | EnumActionResult. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> ActionResult<T> | ActionResult. newResult(EnumActionResult result,
         T value) | 
| Constructor and Description | 
|---|
| ActionResult(EnumActionResult typeIn,
            T resultIn) | 
| Modifier and Type | Method and Description | 
|---|---|
| static EnumActionResult | ForgeHooks. onInteractEntity(EntityPlayer player,
                Entity entity,
                EnumHand hand) | 
| static EnumActionResult | ForgeHooks. onInteractEntityAt(EntityPlayer player,
                  Entity entity,
                  RayTraceResult ray,
                  EnumHand hand) | 
| static EnumActionResult | ForgeHooks. onInteractEntityAt(EntityPlayer player,
                  Entity entity,
                  Vec3d vec3d,
                  EnumHand hand) | 
| static EnumActionResult | ForgeHooks. onItemRightClick(EntityPlayer player,
                EnumHand hand) | 
| static EnumActionResult | ForgeHooks. onPlaceItemIntoWorld(ItemStack itemstack,
                    EntityPlayer player,
                    World world,
                    BlockPos pos,
                    EnumFacing side,
                    float hitX,
                    float hitY,
                    float hitZ,
                    EnumHand hand) | 
| Modifier and Type | Field and Description | 
|---|---|
| private EnumActionResult | PlayerInteractEvent. cancellationResult | 
| Modifier and Type | Method and Description | 
|---|---|
| EnumActionResult | PlayerInteractEvent. getCancellationResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | PlayerInteractEvent. setCancellationResult(EnumActionResult result)Set the EnumActionResult that will be returned to vanilla if the event is cancelled, instead of calling the relevant
 method of the event. |