public class TileSpringOil extends net.minecraft.tileentity.TileEntity implements IDebuggable, ITileOilSpring
| 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(com.mojang.authlib.GameProfile profile,
net.minecraft.util.math.BlockPos oilPos)
Pumps should call this when they pump oil from this spring.
|
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, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClientDebugInfopublic int totalSources
Note that this SHOULD NEVER be set! (Except by the generator, and readFromNbt)
public void onPumpOil(com.mojang.authlib.GameProfile profile,
net.minecraft.util.math.BlockPos oilPos)
ITileOilSpringonPumpOil in interface ITileOilSpringpublic void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
readFromNBT in class net.minecraft.tileentity.TileEntitypublic net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound nbt)
writeToNBT in class net.minecraft.tileentity.TileEntitypublic void getDebugInfo(java.util.List<java.lang.String> left,
java.util.List<java.lang.String> right,
net.minecraft.util.EnumFacing side)
IDebuggablegetDebugInfo in interface IDebuggableside - The side the block was clicked on, may be null if we don't know, or is the "centre" side