Package mekanism.common.item

Examples of mekanism.common.item.ItemJetpack.useGas()


          }

          mc.thePlayer.fallDistance = 0.0F;
        }

        jetpack.useGas(mc.thePlayer.getEquipmentInSlot(3));
      }

      if(isGasMaskOn(mc.thePlayer))
      {
        ItemScubaTank tank = (ItemScubaTank)mc.thePlayer.getEquipmentInSlot(3).getItem();
View Full Code Here


      if(player instanceof EntityPlayerMP)
      {
        MekanismUtils.setPrivateValue(((EntityPlayerMP)player).playerNetServerHandler, 0, NetHandlerPlayServer.class, ObfuscatedNames.NetHandlerPlayServer_floatingTickCount);
      }

      jetpack.useGas(player.getEquipmentInSlot(3));
    }

    if(isGasMaskOn(player))
    {
      ItemScubaTank tank = (ItemScubaTank)player.getEquipmentInSlot(3).getItem();
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.