Files
ForestryMC/src/main/java/forestry/apiculture/multiblock/TileAlvearyFan.java
T
Runakai1GitHub GTNH Actionsgithub-actions[bot]
99ebd8efe0 Fix Alveary Simulation of Temperatures (#52)
* Fix Alveary Simulation of Temperatures

* Spottless

* spotlessApply (#53)

Co-authored-by: GitHub GTNH Actions <>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-18 14:56:09 +02:00

49 lines
1.4 KiB
Java

/*******************************************************************************
* Copyright (c) 2011-2014 SirSengir. All rights reserved. This program and the accompanying materials are made
* available under the terms of the GNU Lesser Public License v3 which accompanies this distribution, and is available
* at http://www.gnu.org/licenses/lgpl-3.0.txt
*
* Various Contributors including, but not limited to: SirSengir (original work), CovertJaguar, Player, Binnie,
* MysteriousAges
******************************************************************************/
package forestry.apiculture.multiblock;
import forestry.apiculture.blocks.BlockAlveary;
public class TileAlvearyFan extends TileAlvearyClimatiser {
private static final FanDefinition definition = new FanDefinition();
public TileAlvearyFan() {
super(definition);
}
private static class FanDefinition implements IClimitiserDefinition {
@Override
public float getChangePerTransfer() {
return -0.01f;
}
@Override
public float getBoundaryUp() {
return 2.5f;
}
@Override
public float getBoundaryDown() {
return -1f;
}
@Override
public int getIconOff() {
return BlockAlveary.ALVEARY_FAN_OFF;
}
@Override
public int getIconOn() {
return BlockAlveary.ALVEARY_FAN_ON;
}
}
}