public class TileSpringOil extends net.minecraft.tileentity.TileEntity implements IDebuggable
Modifier and Type | Field and Description |
---|---|
int |
totalSources
An approximation of the total number of oil source blocks in the oil spring.
|
Constructor and Description |
---|
TileSpringOil() |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
onPumpOil(TilePump pump,
net.minecraft.util.math.BlockPos oilPos) |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbt) |
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
addInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getCapability, getDisplayName, getDistanceSq, getKey, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getUpdatePacket, getUpdateTag, getWorld, handleUpdateTag, hasCapability, hasFastRenderer, hasWorld, invalidate, isInvalid, markDirty, mirror, onChunkUnload, onDataPacket, onLoad, onlyOpsCanSetNbt, receiveClientEvent, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, setWorldCreate, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClientDebugInfo
public int totalSources
Note that this SHOULD NEVER be set! (Except by the generator, and readFromNbt)
public void onPumpOil(TilePump pump, net.minecraft.util.math.BlockPos oilPos)
public void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
readFromNBT
in class net.minecraft.tileentity.TileEntity
public net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound nbt)
writeToNBT
in class net.minecraft.tileentity.TileEntity
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