public static interface IAirHandlerMachine.Connection
| Modifier and Type | Method and Description |
|---|---|
IAirHandlerMachine |
getAirHandler()
Get the neighbouring air handler
|
net.minecraft.util.Direction |
getDirection()
Get the direction of this connection.
|
int |
getDispersedAir()
Get the amount of air has been dispersed along this connection in this tick.
|
int |
getMaxDispersion()
Get the maximum air which may be dispersed along this connection in this tick.
|
void |
setAirToDisperse(int toDisperse)
Set the air which will be dispersed along this connection in this tick.
|
void |
setMaxDispersion(int maxDispersion)
Set the max air which may be dispersed along this connection.
|
IAirHandlerMachine getAirHandler()
@Nullable net.minecraft.util.Direction getDirection()
IAirListener.addConnectedPneumatics(List)int getMaxDispersion()
IAirListener.getMaxDispersion(IAirHandlerMachine, Direction).void setMaxDispersion(int maxDispersion)
IAirHandlerMachine.tick(TileEntity)maxDispersion - the maximum dispersal allowedint getDispersedAir()
IAirHandlerMachine.tick(TileEntity).void setAirToDisperse(int toDisperse)
IAirHandlerMachine.tick(TileEntity).toDisperse - the air which will be dispersed this tick