Examples of RedstoneControlMessage


Examples of mekanism.common.network.PacketRedstoneControl.RedstoneControlMessage

      {
        RedstoneControl current = control.getControlType();
        int ordinalToSet = current.ordinal() < (RedstoneControl.values().length-1) ? current.ordinal()+1 : 0;

        SoundHandler.playSound("gui.button.press");
        Mekanism.packetHandler.sendToServer(new RedstoneControlMessage(Coord4D.get(tileEntity), RedstoneControl.values()[ordinalToSet]));
      }
    }
  }
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.