Package mekanism.common.network.PacketElectricBowState

Examples of mekanism.common.network.PacketElectricBowState.ElectricBowStateMessage


          if(MekanismKeyHandler.modeSwitchKey.getIsKeyPressed())
          {
            if(!lastTickUpdate)
            {
              item.setFireState(stack, !item.getFireState(stack));
              Mekanism.packetHandler.sendToServer(new ElectricBowStateMessage(item.getFireState(stack)));
              mc.thePlayer.addChatMessage(new ChatComponentText(EnumColor.DARK_BLUE + "[Mekanism] " + EnumColor.GREY + MekanismUtils.localize("tooltip.fireMode") + ": " + (item.getFireState(stack) ? EnumColor.DARK_GREEN : EnumColor.DARK_RED) + LangUtils.transYesNo(item.getFireState(stack))));
              lastTickUpdate = true;
            }
          }
          else {
View Full Code Here

TOP

Related Classes of mekanism.common.network.PacketElectricBowState.ElectricBowStateMessage

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.