public class FluidSmoother extends java.lang.Object implements IDebuggable
Modifier and Type | Class and Description |
---|---|
static class |
FluidSmoother.FluidStackInterp |
static interface |
FluidSmoother.IFluidDataSender |
Constructor and Description |
---|
FluidSmoother(FluidSmoother.IFluidDataSender sender,
Tank tank) |
Modifier and Type | Method and Description |
---|---|
int |
getCapacity()
Delegate for
FluidTank.getCapacity() - useful if this is the only object exposed for rendering. |
void |
getDebugInfo(java.util.List<java.lang.String> left,
java.util.List<java.lang.String> right,
net.minecraft.util.EnumFacing side)
Get the debug information from a tile entity as a list of strings, used for the F3 debug menu.
|
net.minecraftforge.fluids.FluidStack |
getFluidForRender() |
FluidSmoother.FluidStackInterp |
getFluidForRender(double partialTicks) |
void |
handleMessage(net.minecraft.world.World world,
PacketBufferBC buffer) |
void |
resetSmoothing(net.minecraft.world.World world) |
void |
tick(net.minecraft.world.World world) |
void |
writeInit(PacketBufferBC buffer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClientDebugInfo
public FluidSmoother(FluidSmoother.IFluidDataSender sender, Tank tank)
public void tick(net.minecraft.world.World world)
public void handleMessage(net.minecraft.world.World world, PacketBufferBC buffer)
public void writeInit(PacketBufferBC buffer)
public void resetSmoothing(net.minecraft.world.World world)
public net.minecraftforge.fluids.FluidStack getFluidForRender()
public FluidSmoother.FluidStackInterp getFluidForRender(double partialTicks)
public int getCapacity()
FluidTank.getCapacity()
- useful if this is the only object exposed for rendering.public void getDebugInfo(java.util.List<java.lang.String> left, java.util.List<java.lang.String> right, net.minecraft.util.EnumFacing side)
IDebuggable
getDebugInfo
in interface IDebuggable
side
- The side the block was clicked on, may be null if we don't know, or is the "centre" side