Improve the greenhouse controller

This commit is contained in:
Nedelosk committed 2016-04-25 20:40:55 +02:00
1 parent 080dd93dc2
commit 7ca28d4d10
7 files changed
+156 -44

No files matched your search

@@ -27,19 +27,34 @@ import forestry.energy.EnergyManager;
public interface IGreenhouseControllerInternal extends IGreenhouseController, IMultiblockControllerInternal, IRestrictedAccess, IStreamableGui {
/**
* @return The inventory of the controller.
*/
@Nonnull
IInventoryAdapter getInternalInventory();
/**
* @return The tank manager of the controller.
*/
@Nonnull
ITankManager getTankManager();
/**
* @return The energy manager of the controller.
*/
@Nullable
EnergyManager getEnergyManager();
@Nullable
/**
* @return The current state of the greenhouse controller.
*/
@Nonnull
IGreenhouseState createState();
@Nonnull
/**
* @return A list with all internal block's of the greenhouse.
*/
List<IInternalBlock> getInternalBlocks();
}