/******************************************************************************* * Copyright 2011-2014 SirSengir * * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. ******************************************************************************/ package forestry.api.multiblock; import forestry.api.core.IClimateControlled; import forestry.api.greenhouse.IGreenhouseHousing; import forestry.api.greenhouse.IGreenhouseListener; public interface IGreenhouseComponent extends IMultiblockComponent { @Override T getMultiblockLogic(); interface Listener extends IGreenhouseComponent { IGreenhouseListener getGreenhouseListener(); } interface Door extends IGreenhouseComponent { } interface Climatiser extends IGreenhouseComponent { void changeClimate(int tickCount, G greenhouse); } interface Active extends IGreenhouseComponent { void updateServer(int tickCount); void updateClient(int tickCount); } }