Examples of onItemRightClick()


Examples of appeng.items.tools.powered.ToolMassCannon.onItemRightClick()

        p.posX += dir.offsetX;
        p.posY += dir.offsetY;
        p.posZ += dir.offsetZ;

        dispensedItem = tm.onItemRightClick( dispensedItem, w, p );
      }
    }
    return dispensedItem;
  }
}
View Full Code Here

Examples of net.minecraft.item.Item.onItemRightClick()

        if (!done)
          done = block != null && block.onBlockActivated(worldObj, coords.posX, coords.posY, coords.posZ, player, side, 0F, 0F, 0F);
        if (!done)
          done = item.onItemUse(stack, player, worldObj, coords.posX, coords.posY, coords.posZ, side, 0F, 0F, 0F);
        if (!done) {
          item.onItemRightClick(stack, worldObj, player);
          done = true;
        }

      } catch (Throwable e) {
        e.printStackTrace();
View Full Code Here

Examples of net.minecraft.item.Item.onItemRightClick()

                    if (!done)
                        item.onItemUseFirst(stack, player, worldObj, x, y, z, ForgeDirection.OPPOSITES[orientation], 0F, 0F, 0F);
                    if (!done)
                        done = item.onItemUse(stack, player, worldObj, x, y, z, ForgeDirection.OPPOSITES[orientation], 0F, 0F, 0F);
                    if (!done) {
                        item.onItemRightClick(stack, worldObj, player);
                        done = true;
                    }

                    }
                //}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.