mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 03:39:09 +00:00
34 lines
1.1 KiB
Java
34 lines
1.1 KiB
Java
/*******************************************************************************
|
|
* 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<T extends IMultiblockLogicGreenhouse> extends IMultiblockComponent {
|
|
@Override
|
|
T getMultiblockLogic();
|
|
|
|
interface Listener extends IGreenhouseComponent {
|
|
IGreenhouseListener getGreenhouseListener();
|
|
}
|
|
|
|
interface Door extends IGreenhouseComponent {
|
|
}
|
|
|
|
interface Climatiser extends IGreenhouseComponent {
|
|
<G extends IGreenhouseController & IGreenhouseHousing & IClimateControlled> void changeClimate(int tickCount, G greenhouse);
|
|
}
|
|
|
|
interface Active extends IGreenhouseComponent {
|
|
void updateServer(int tickCount);
|
|
|
|
void updateClient(int tickCount);
|
|
}
|
|
|
|
}
|