Package forestry.api.core.multiblock
Interface IMultiblockLogic
- All Known Subinterfaces:
IMultiblockLogicAlveary,IMultiblockLogicFarm
public interface IMultiblockLogic
Multiblock Logic implements the basic accessor for IMultiblockComponent tile entities.
After the engine rewrite (plan Phase 2) this is a thin accessor: it no longer drives validation,
chunk events, persistence, or networking (those moved to the base member BlockEntity and the
event-driven triggers). It only resolves the owning block's controller via the new
MultiblockIndex (returning the machine's Fake controller when unassembled).
-
Method Summary
-
Method Details
-
isConnected
boolean isConnected()- Returns:
- True if this block is connected to an assembled multiblock controller, false otherwise
-
getController
IMultiblockController getController()- Returns:
- the multiblock controller for this logic, or the machine's
Fakecontroller when this block is not part of an assembled structure
-