public class TileEngineElectric extends TileEngine implements ISocketable, net.minecraft.inventory.IInventory, IStreamableGui
| Modifier and Type | Class and Description |
|---|---|
protected static class |
TileEngineElectric.EuConfig |
currentOutput, energyManager, forceCooldown, heat, maxHeat, pistonSpeedServer, progress, stagePiston| Constructor and Description |
|---|
TileEngineElectric() |
| Modifier and Type | Method and Description |
|---|---|
void |
burn() |
void |
changeEnergyConfig(int euChange,
int rfChange,
int storageChange) |
int |
dissipateHeat() |
int |
generateHeat() |
net.minecraft.inventory.Container |
getContainer(net.minecraft.entity.player.EntityPlayer player,
int data) |
net.minecraft.client.gui.inventory.GuiContainer |
getGui(net.minecraft.entity.player.EntityPlayer player,
int data) |
net.minecraft.item.ItemStack |
getSocket(int slot) |
int |
getSocketCount() |
ICircuitSocketType |
getSocketType() |
int |
getStorageScaled(int i) |
void |
invalidate() |
protected boolean |
isBurning() |
void |
onChunkUnload() |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound) |
void |
readGuiData(PacketBufferForestry data) |
void |
setSocket(int slot,
net.minecraft.item.ItemStack stack) |
void |
updateServerSide() |
void |
writeGuiData(PacketBufferForestry data) |
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound) |
addHeat, getBurnTimeRemainingScaled, getCapability, getCurrentOutput, getEnergyManager, getHeat, getHeatLevel, getHintKey, getPistonSpeed, getTemperatureState, hasCapability, hasFuelMin, isActive, mayBurn, readData, setActive, updateClientSide, writeDatagetFacing, getUnlocalizedTitle, openGui, shouldRefreshaddExternalTriggers, addInternalSidedTriggers, addInternalTriggers, canExtractItem, canInsertItem, canSlotAccept, clear, closeInventory, decrStackSize, getCoordinates, getDisplayName, getErrorLogic, getField, getFieldCount, getInternalInventory, getInventoryStackLimit, getName, getSizeInventory, getSlotsForFace, getStackInSlot, getTileCache, getUpdatePacket, getUpdateTag, getWorldObj, handleUpdateTag, hasCustomName, isEmpty, isItemValidForSlot, isLocked, isRedstoneActivated, isUsableByPlayer, onNeighborTileChange, onRemoval, openInventory, removeStackFromSlot, sendNetworkUpdate, setField, setInternalInventory, setInventorySlotContents, setNeedsNetworkUpdate, update, updateOnInterval, validateaddInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getDistanceSq, getKey, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, hasFastRenderer, hasWorld, isInvalid, markDirty, mirror, onDataPacket, onLoad, onlyOpsCanSetNbt, receiveClientEvent, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, setWorldCreate, shouldRenderInPass, updateContainingBlockInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, closeInventory, decrStackSize, getField, getFieldCount, getInventoryStackLimit, getSizeInventory, getStackInSlot, isEmpty, isItemValidForSlot, isUsableByPlayer, markDirty, openInventory, removeStackFromSlot, setField, setInventorySlotContentsgetDisplayName, getName, hasCustomNamegetCoordinatespublic void readFromNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound)
readFromNBT in class TileEngine@Nonnull public net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound)
writeToNBT in class TileEnginepublic void onChunkUnload()
onChunkUnload in class net.minecraft.tileentity.TileEntitypublic void invalidate()
invalidate in class TileForestrypublic int dissipateHeat()
dissipateHeat in class TileEnginepublic int generateHeat()
generateHeat in class TileEnginepublic void updateServerSide()
updateServerSide in class TileEnginepublic void burn()
burn in class TileEngineprotected boolean isBurning()
isBurning in class TileEnginepublic int getStorageScaled(int i)
public void writeGuiData(PacketBufferForestry data)
writeGuiData in interface IStreamableGuiwriteGuiData in class TileEnginepublic void readGuiData(PacketBufferForestry data) throws java.io.IOException
readGuiData in interface IStreamableGuireadGuiData in class TileEnginejava.io.IOExceptionpublic void changeEnergyConfig(int euChange,
int rfChange,
int storageChange)
public int getSocketCount()
getSocketCount in interface ISocketablepublic net.minecraft.item.ItemStack getSocket(int slot)
getSocket in interface ISocketablepublic void setSocket(int slot,
net.minecraft.item.ItemStack stack)
setSocket in interface ISocketablepublic ICircuitSocketType getSocketType()
getSocketType in interface ISocketablepublic net.minecraft.client.gui.inventory.GuiContainer getGui(net.minecraft.entity.player.EntityPlayer player,
int data)
getGui in interface IGuiHandlerTilepublic net.minecraft.inventory.Container getContainer(net.minecraft.entity.player.EntityPlayer player,
int data)
getContainer in interface IGuiHandlerTile