mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-16 10:34:53 +00:00
41 lines
1.2 KiB
Java
41 lines
1.2 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 java.util.List;
|
|
|
|
import javax.annotation.Nonnull;
|
|
import javax.annotation.Nullable;
|
|
|
|
import forestry.api.climate.IClimateControl;
|
|
import forestry.api.climate.IClimateControlProvider;
|
|
import forestry.api.climate.IClimateRegion;
|
|
import forestry.api.core.ICamouflageHandler;
|
|
import forestry.api.greenhouse.EnumGreenhouseEventType;
|
|
import forestry.api.greenhouse.IGreenhouseHousing;
|
|
import forestry.api.greenhouse.IGreenhouseLogic;
|
|
|
|
public interface IGreenhouseController extends IMultiblockController, IGreenhouseHousing, ICamouflageHandler, IClimateControlProvider {
|
|
|
|
/**
|
|
* Handle change events.
|
|
*/
|
|
void onChange(EnumGreenhouseEventType type, Object event);
|
|
|
|
/**
|
|
* @return The logics of the greenhouse.
|
|
*/
|
|
List<IGreenhouseLogic> getLogics();
|
|
|
|
@Nullable
|
|
IClimateRegion getRegion();
|
|
|
|
@Override
|
|
@Nonnull
|
|
IClimateControl getClimateControl();
|
|
|
|
}
|