Examples of insertUpgrade()


Examples of powercrystals.minefactoryreloaded.tile.rednet.TileEntityRedNetLogic.insertUpgrade()

    if(MFRUtil.isHolding(player, ItemLogicUpgradeCard.class))
    {
      TileEntityRedNetLogic logic = (TileEntityRedNetLogic)world.getBlockTileEntity(x, y, z);
      if(logic != null)
      {
        if(logic.insertUpgrade(player.inventory.getCurrentItem().getItemDamage() + 1));
        {
          if(!player.capabilities.isCreativeMode)
          {
            player.inventory.setInventorySlotContents(player.inventory.currentItem, null);
          }
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.