Package mekanism.common.network.PacketContainerEditMode

Examples of mekanism.common.network.PacketContainerEditMode.ContainerEditModeMessage


      {
        ContainerEditMode current = manager.getContainerEditMode();
        int ordinalToSet = current.ordinal() < (ContainerEditMode.values().length-1) ? current.ordinal()+1 : 0;

        SoundHandler.playSound("gui.button.press");
        Mekanism.packetHandler.sendToServer(new ContainerEditModeMessage(Coord4D.get(tileEntity), ContainerEditMode.values()[ordinalToSet]));
      }
    }
  }
View Full Code Here

TOP

Related Classes of mekanism.common.network.PacketContainerEditMode.ContainerEditModeMessage

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.