/******************************************************************************* * Copyright (c) 2011-2014 SirSengir. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v3 * which accompanies this distribution, and is available at * http://www.gnu.org/licenses/lgpl-3.0.txt * * Various Contributors including, but not limited to: * SirSengir (original work), CovertJaguar, Player, Binnie, MysteriousAges ******************************************************************************/ package forestry.greenhouse.multiblock; import javax.annotation.Nullable; import java.util.Set; import forestry.api.greenhouse.IInternalBlock; import forestry.api.multiblock.IGreenhouseComponent; import forestry.api.multiblock.IGreenhouseController; import forestry.core.fluids.ITankManager; import forestry.core.inventory.IInventoryAdapter; import forestry.core.multiblock.IMultiblockControllerInternal; import forestry.core.network.IStreamableGui; import forestry.core.owner.IOwnedTile; import forestry.energy.EnergyManager; public interface IGreenhouseControllerInternal extends IGreenhouseController, IMultiblockControllerInternal, IOwnedTile, IStreamableGui { /** * @return The inventory of the controller. */ IInventoryAdapter getInternalInventory(); /** * @return The tank manager of the controller. */ ITankManager getTankManager(); /** * @return The energy manager of the controller. */ EnergyManager getEnergyManager(); /** * @return All internal blocks of the greenhouse. */ Set getInternalBlocks(); /** * @return True if the greenhouse can work. */ boolean canWork(); /** * @return A Set with listener componets. */ Set getListenerComponents(); /** * @return A butterfly hatch, if one exists. */ @Nullable IGreenhouseComponent.ButterflyHatch getButterflyHatch(); }