mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 03:39:09 +00:00
Add API for multiblock components
This commit is contained in:
1 parent
14bdab069e
commit
731d15fbd5
56 files changed
+1828
-1951
No files matched your search
@@ -35,13 +35,14 @@ import forestry.core.fluids.FakeTankManager;
|
||||
import forestry.core.fluids.ITankManager;
|
||||
import forestry.core.inventory.FakeInventoryAdapter;
|
||||
import forestry.core.inventory.IInventoryAdapter;
|
||||
import forestry.core.multiblock.FakeMultiblockController;
|
||||
import forestry.core.network.DataInputStreamForestry;
|
||||
import forestry.core.network.DataOutputStreamForestry;
|
||||
import forestry.farming.gui.IFarmLedgerDelegate;
|
||||
|
||||
import io.netty.util.internal.EmptyArrays;
|
||||
|
||||
public class FakeFarmController implements IFarmController {
|
||||
public class FakeFarmController extends FakeMultiblockController implements IFarmControllerInternal {
|
||||
public static final FakeFarmController instance = new FakeFarmController();
|
||||
|
||||
private FakeFarmController() {
|
||||
@@ -83,11 +84,6 @@ public class FakeFarmController implements IFarmController {
|
||||
return EmptyArrays.EMPTY_INTS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public World getWorld() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean doWork() {
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user