Package net.mcft.copy.betterstorage.network.packet

Examples of net.mcft.copy.betterstorage.network.packet.PacketBackpackOpen


    Minecraft mc = Minecraft.getMinecraft();
    EntityPlayer player = mc.thePlayer;
    if (!mc.inGameHasFocus || (player == null)) return;
    if (backpackOpen.isPressed() && (ItemBackpack.getBackpack(player) != null) &&
        BetterStorage.globalConfig.getBoolean(GlobalConfig.enableBackpackOpen))
      BetterStorage.networkChannel.sendToServer(new PacketBackpackOpen());
    else if (drinkingHelmet.isPressed() && (player.getEquipmentInSlot(EquipmentSlot.HEAD) != null))
      BetterStorage.networkChannel.sendToServer(new PacketDrinkingHelmetUse());
  }
View Full Code Here

TOP

Related Classes of net.mcft.copy.betterstorage.network.packet.PacketBackpackOpen

Copyright © 2018 www.massapicom. 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.