blob: 21e1328d27923ee12ecca3ba5d81b21ae5596de2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
package gregtech.api.multitileentity.interfaces;
import net.minecraft.util.ChunkCoordinates;
import net.minecraftforge.fluids.FluidStack;
import gregtech.api.logic.PowerLogic;
public interface IMultiBlockController extends IMultiTileEntity, IMultiBlockFluidHandler, IMultiBlockInventory {
boolean checkStructure(boolean aForceReset);
/** Set the structure as having changed, and trigger an update */
void onStructureChange();
@Override
ChunkCoordinates getCoords();
FluidStack getDrainableFluid(byte aSide);
boolean isLiquidInput(byte aSide);
boolean isLiquidOutput(byte aSide);
void registerCoveredPartOnSide(final int aSide, IMultiBlockPart part);
void unregisterCoveredPartOnSide(final int aSide, IMultiBlockPart part);
void registerInventory(String aName, String aID, int aInventorySize, int aType);
void unregisterInventory(String aName, String aID, int aType);
void changeInventoryName(String aName, String aID, int aType);
PowerLogic getPowerLogic(IMultiBlockPart part, byte side);
}
|