mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-17 10:55:06 +00:00
99ebd8efe0
* 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>
49 lines
1.4 KiB
Java
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;
|
|
}
|
|
}
|
|
}
|