Examples of TileForestry


Examples of forestry.core.gadgets.TileForestry

    if (energyManager.getTotalEnergyStored() == 0) {
      ITileStructure central = getCentralTE();
      if (!(central instanceof TileForestry))
        return;

      TileForestry centralHousing = (TileForestry) central;
      centralHousing.setErrorState(EnumErrorCode.NOPOWER);
      return;
    }

    if (activationDelay > 0) {
      activationDelay--;
View Full Code Here

Examples of forestry.core.gadgets.TileForestry

  }

  private void onAccessSwitch(PacketCoordinates packet, EntityPlayer playerEntity) {
    assert FMLCommonHandler.instance().getEffectiveSide().isServer();

    TileForestry tile = (TileForestry) playerEntity.worldObj.getTileEntity(packet.posX, packet.posY, packet.posZ);
    if (tile == null)
      return;

    tile.switchAccessRule(playerEntity);
  }
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.