Package erogenousbeef.bigreactors.common.tileentity.base

Examples of erogenousbeef.bigreactors.common.tileentity.base.TileEntityBeefBase


      front = teFacing.getFacing();
    }
   
    if(side == front) {
      if(te instanceof TileEntityBeefBase) {
        TileEntityBeefBase beefTe = (TileEntityBeefBase)te;
        if(beefTe.isActive()) {
          return safeGetIcon(_activeIcons, metadata, te.xCoord, te.yCoord, te.zCoord);
        }
      }
      return safeGetIcon(_icons, metadata, te.xCoord, te.yCoord, te.zCoord);
    }
View Full Code Here


 
  public static class Handler extends WorldMessageServer.Handler<DeviceChangeExposureMessage> {
    @Override
    protected IMessage handleMessage(DeviceChangeExposureMessage message, MessageContext ctx, TileEntity te) {
      if(te instanceof TileEntityBeefBase) {
        TileEntityBeefBase beefTe = (TileEntityBeefBase)te;
        if(message.increment) {
          beefTe.incrSide(message.side);
        }
        else {
          beefTe.decrSide(message.side);
        }
      }
      else {
        BRLog.warning("Received SideChangeMessage for TE at %d, %d, %d, but it was not a TE with an iterable side exposure!", te.xCoord, te.yCoord, te.zCoord);
      }
View Full Code Here

  public static class Handler extends WorldMessageClient.Handler<DeviceUpdateExposureMessage> {
    @Override
    protected IMessage handleMessage(DeviceUpdateExposureMessage message,
        MessageContext ctx, TileEntity te) {
      if(te instanceof TileEntityBeefBase) {
        TileEntityBeefBase beefTe = (TileEntityBeefBase)te;
        beefTe.setSides(message.exposures);
      }
      // TODO Auto-generated method stub
      return null;
    }
View Full Code Here

TOP

Related Classes of erogenousbeef.bigreactors.common.tileentity.base.TileEntityBeefBase

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.