Package erogenousbeef.bigreactors.common.multiblock.interfaces

Examples of erogenousbeef.bigreactors.common.multiblock.interfaces.IActivateable


  public static class Handler extends WorldMessageServer.Handler<MachineCommandActivateMessage> {
    @Override
    protected IMessage handleMessage(MachineCommandActivateMessage message,
        MessageContext ctx, TileEntity te) {
      if(te instanceof IActivateable) {
        IActivateable machine = (IActivateable)te;
        machine.setActive(message.setActive);
      }
      else {
        BRLog.error("Received a MachineCommandActivateMessage for %d, %d, %d but found no activateable machine", message.x, message.y, message.z);
      }
      return null;
View Full Code Here

TOP

Related Classes of erogenousbeef.bigreactors.common.multiblock.interfaces.IActivateable

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.