mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 03:39:09 +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 TileAlvearyHeater extends TileAlvearyClimatiser {
|
|
|
|
private static final HeaterDefinition definition = new HeaterDefinition();
|
|
|
|
public TileAlvearyHeater() {
|
|
super(definition);
|
|
}
|
|
|
|
private static class HeaterDefinition implements IClimitiserDefinition {
|
|
|
|
@Override
|
|
public float getChangePerTransfer() {
|
|
return 0.015f;
|
|
}
|
|
|
|
@Override
|
|
public float getBoundaryUp() {
|
|
return 3.5f;
|
|
}
|
|
|
|
@Override
|
|
public float getBoundaryDown() {
|
|
return 0.0f;
|
|
}
|
|
|
|
@Override
|
|
public int getIconOff() {
|
|
return BlockAlveary.ALVEARY_HEATER_OFF;
|
|
}
|
|
|
|
@Override
|
|
public int getIconOn() {
|
|
return BlockAlveary.ALVEARY_HEATER_ON;
|
|
}
|
|
}
|
|
}
|