public class PipeTransportFluids.PipeSection
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
amount |
| Constructor and Description |
|---|
PipeSection() |
| Modifier and Type | Method and Description |
|---|---|
int |
drain(int maxDrain,
boolean doDrain) |
int |
fill(int maxFill,
boolean doFill) |
int |
getAvailable()
Get the amount of fluid available to move.
|
int |
getMaxFillRate() |
void |
moveFluids() |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound compoundTag) |
void |
reset() |
void |
setTime(short newTime) |
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound subTag) |
public int fill(int maxFill,
boolean doFill)
public int drain(int maxDrain,
boolean doDrain)
public void moveFluids()
public void setTime(short newTime)
public void reset()
public int getAvailable()
public int getMaxFillRate()
public void readFromNBT(net.minecraft.nbt.NBTTagCompound compoundTag)
public void writeToNBT(net.minecraft.nbt.NBTTagCompound subTag)