mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 12:09:39 +00:00
40 lines
1.2 KiB
Java
40 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.Set;
|
|
|
|
import forestry.api.climate.IClimateControlProvider;
|
|
import forestry.api.climate.IClimateRegion;
|
|
import forestry.api.core.ICamouflageHandler;
|
|
import forestry.api.greenhouse.IGreenhouseHousing;
|
|
import forestry.api.greenhouse.IInternalBlock;
|
|
import forestry.api.lepidopterology.IButterfly;
|
|
import forestry.api.lepidopterology.IButterflyCocoon;
|
|
|
|
public interface IGreenhouseController extends IMultiblockController, IGreenhouseHousing, ICamouflageHandler, IClimateControlProvider {
|
|
|
|
/**
|
|
* @return All internal blocks of the greenhouse.
|
|
*/
|
|
Set<IInternalBlock> getInternalBlocks();
|
|
|
|
/**
|
|
* spawns a butterfly in a greenhouse
|
|
* @return true if it has spawned it, and false if it has not
|
|
*/
|
|
boolean spawnButterfly(IGreenhouseComponent.Nursery nursery);
|
|
|
|
/**
|
|
* @deprecated use {@link #spawnButterfly(IButterflyCocoon)}
|
|
*/
|
|
@Deprecated
|
|
boolean spawnButterfly(IButterfly butterfly);
|
|
|
|
IClimateRegion getRegion();
|
|
|
|
}
|