Examples of ElectricBowStateMessage


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
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.