Package forestry.api.apiculture

Examples of forestry.api.apiculture.IAlvearyComponent


      return;

    if (!this.hasMaster())
      return;

    IAlvearyComponent master = (IAlvearyComponent) this.getCentralTE();
    if (!(master instanceof IBeeHousing))
      return;

    IBeeHousing housing = (IBeeHousing) master;
    ItemStack queenstack = housing.getQueen();
View Full Code Here


        animationDelay = 100;
    }

    if (transferTime > 0) {
      transferTime--;
      IAlvearyComponent component = (IAlvearyComponent) this.getCentralTE();
      if (component != null)
        component.addTemperatureChange(climateControl.changePerTransfer, climateControl.boundaryDown, climateControl.boundaryUp);
    }

    if (animationDelay > 0) {
      animationDelay--;
      if (animationDelay <= 0)
View Full Code Here

    if (transferTime > 0) {

      transferTime--;
      if (currentRecipe != null) {
        IAlvearyComponent component = (IAlvearyComponent) this.getCentralTE();
        if (component != null) {
          component.addHumidityChange(currentRecipe.humidChange, 0.0f, 1.0f);
          component.addTemperatureChange(currentRecipe.tempChange, 0.0f, 2.0f);
        }
      } else
        transferTime = 0;
    }
View Full Code Here

TOP

Related Classes of forestry.api.apiculture.IAlvearyComponent

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.