use of forestry.greenhouse.climate.modifiers.ClimateSourceModifier in project ForestryMC by ForestryMC.
the class ModuleGreenhouse method doInit.
@Override
public void doInit() {
IGreenhouseHelper helper = GreenhouseManager.helper;
GameRegistry.registerTileEntity(TileGreenhousePlain.class, "forestry.GreenhousePlain");
GameRegistry.registerTileEntity(TileHygroregulator.class, "forestry.ClimateSourceHygroregulator");
GameRegistry.registerTileEntity(TileGreenhouseGearbox.class, "forestry.GreenhouseGearbox");
GameRegistry.registerTileEntity(TileGreenhouseControl.class, "forestry.GreenhouseController");
GameRegistry.registerTileEntity(TileGreenhouseWindow.class, "forestry.ClimateSourceWindow");
GameRegistry.registerTileEntity(TileFan.class, "forestry.GreenhouseFan");
GameRegistry.registerTileEntity(TileHeater.class, "forestry.GreenhouseHeater");
GameRegistry.registerTileEntity(TileDehumidifier.class, "forestry.GreenhouseDryer");
GameRegistry.registerTileEntity(TileHumidifier.class, "forestry.GreenhouseSprinkler");
helper.registerWindowGlass("glass", new ItemStack(Blocks.GLASS), "blocks/glass");
for (EnumDyeColor dye : EnumDyeColor.values()) {
helper.registerWindowGlass("glass" + dye.getName(), new ItemStack(Blocks.STAINED_GLASS, 1, dye.getMetadata()), "blocks/glass_" + dye.getName());
}
IGreenhouseClimateManager climateSourceManager = GreenhouseClimateManager.getInstance();
climateSourceManager.registerModifier(new WeatherModifier());
climateSourceManager.registerModifier(new TimeModifier());
climateSourceManager.registerModifier(new AltitudeModifier());
climateSourceManager.registerModifier(new ClimateSourceModifier());
Circuits.climatiserTemperature1 = new CircuitClimateSource("climatiser.temperature.1", ClimateType.TEMPERATURE, 0.125F, 0.125F, 0.25F);
Circuits.climatiserTemperature2 = new CircuitClimateSource("climatiser.temperature.2", ClimateType.TEMPERATURE, 0.25F, 0.25F, 0.5F);
Circuits.climatiserHumidity1 = new CircuitClimateSource("climatiser.humidity.1", ClimateType.HUMIDITY, 0.125F, 0.125F, 0.25F);
Circuits.climatiserHumidity2 = new CircuitClimateSource("climatiser.humidity.2", ClimateType.HUMIDITY, 0.25F, 0.25F, 0.5F);
proxy.inti();
}
Aggregations