Package forestry.api.multiblock
Interface IFarmComponent<T extends IMultiblockLogicFarm>
- All Superinterfaces:
IMultiblockComponent
- All Known Subinterfaces:
IFarmComponent.Active,IFarmComponent.Listener
Needs to be implemented by TileEntities that want to be part of a farm.
The sub-interfaces can be implemented to alter the operation of the farm.
They are automatically detected and handled by the farm when they join its structure.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceImplemented by farm parts to receive ticks from the completed structure.static interfaceImplemented by farm parts to apply a farmListener to the completed structure.Nested classes/interfaces inherited from interface forestry.api.multiblock.IMultiblockComponent
IMultiblockComponent.HasInventory -
Method Summary
Methods inherited from interface forestry.api.multiblock.IMultiblockComponent
getCoordinates, getOwner, onMachineAssembled, onMachineBroken
-
Method Details
-
getMultiblockLogic
T getMultiblockLogic()- Specified by:
getMultiblockLogicin interfaceIMultiblockComponent- Returns:
- the multiblock logic for this component
-