public class TileEngineWood extends TileEngineBase implements IRedstoneEngine
TileEngineBase.EnergyStageIPipeConnection.ConnectOverridecurrentOutput, energy, energyStage, heat, IDEAL_HEAT, isRedstonePowered, MAX_HEAT, MIN_HEAT, orientation, progress, progressPart, TRUNK_BLUE_TEXTURE, TRUNK_GREEN_TEXTURE, TRUNK_OVERHEAT_TEXTURE, TRUNK_RED_TEXTURE, TRUNK_YELLOW_TEXTUREcache, guiWatchers, mode| Constructor and Description |
|---|
TileEngineWood() |
| Modifier and Type | Method and Description |
|---|---|
int |
calculateCurrentOutput() |
boolean |
canConnectEnergy(net.minecraftforge.common.util.ForgeDirection from)
Returns TRUE if the TileEntity can connect on a given side.
|
protected TileEngineBase.EnergyStage |
computeEnergyStage() |
void |
engineUpdate() |
int |
getEnergyStored(net.minecraftforge.common.util.ForgeDirection side)
Returns the amount of energy currently stored.
|
int |
getMaxEnergy() |
int |
getMaxEnergyStored(net.minecraftforge.common.util.ForgeDirection side)
Returns the maximum amount of energy that can be stored.
|
float |
getPistonSpeed() |
java.lang.String |
getResourcePrefix() |
net.minecraft.util.ResourceLocation |
getTrunkTexture(TileEngineBase.EnergyStage stage) |
boolean |
isBurning() |
int |
maxEnergyExtracted() |
int |
maxEnergyReceived() |
int |
minEnergyReceived() |
IPipeConnection.ConnectOverride |
overridePipeConnection(IPipeTile.PipeType type,
net.minecraftforge.common.util.ForgeDirection with)
Allows you to override pipe connection logic.
|
protected void |
sendPower() |
addEnergy, burn, canReceiveFromEngine, checkRedstonePower, extractEnergy, extractEnergy, getBaseTexture, getChamberTexture, getCurrentHeatValue, getEnergyLevel, getEnergyProvider, getEnergyStage, getEnergyStored, getGUINetworkData, getHeatLevel, getIdealHeatValue, getMaxHeatValue, getMinHeatValue, initialize, invalidate, isActive, isOrientationValid, isPoweredTile, onBlockActivated, onNeighborUpdate, overheat, readData, readFromNBT, receiveEnergyFromEngine, sendGUINetworkData, setHeatValue, setPumping, switchOrientation, updateEntity, updateHeat, validate, writeData, writeToNBTaddGuiWatcher, destroy, equals, getBattery, getBlock, getControlMode, getDescriptionPacket, getOwner, getPacketUpdate, getTicksSinceEnergyReceived, getTile, hashCode, onBlockPlacedBy, receiveEnergy, removeGuiWatcher, sendNetworkUpdate, setBattery, setControlModeaddMapping, canUpdate, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDistanceFrom, getMaxRenderDistanceSquared, getRenderBoundingBox, getWorldObj, hasWorldObj, isInvalid, markDirty, onChunkUnload, onDataPacket, receiveClientEvent, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfoclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitreceiveEnergypublic java.lang.String getResourcePrefix()
getResourcePrefix in class TileEngineBasepublic net.minecraft.util.ResourceLocation getTrunkTexture(TileEngineBase.EnergyStage stage)
getTrunkTexture in class TileEngineBasepublic int minEnergyReceived()
minEnergyReceived in class TileEngineBasepublic int maxEnergyReceived()
maxEnergyReceived in class TileEngineBaseprotected TileEngineBase.EnergyStage computeEnergyStage()
computeEnergyStage in class TileEngineBasepublic float getPistonSpeed()
getPistonSpeed in class TileEngineBasepublic void engineUpdate()
engineUpdate in class TileEngineBasepublic IPipeConnection.ConnectOverride overridePipeConnection(IPipeTile.PipeType type, net.minecraftforge.common.util.ForgeDirection with)
IPipeConnectionoverridePipeConnection in interface IPipeConnectionoverridePipeConnection in class TileEngineBasepublic boolean isBurning()
isBurning in class TileEngineBasepublic int getMaxEnergy()
getMaxEnergy in class TileEngineBasepublic int calculateCurrentOutput()
calculateCurrentOutput in class TileEngineBasepublic int maxEnergyExtracted()
maxEnergyExtracted in class TileEngineBasepublic boolean canConnectEnergy(net.minecraftforge.common.util.ForgeDirection from)
IEnergyConnectioncanConnectEnergy in interface IEnergyConnectioncanConnectEnergy in class TileEngineBasepublic int getEnergyStored(net.minecraftforge.common.util.ForgeDirection side)
IEnergyHandlergetEnergyStored in interface IEnergyHandlergetEnergyStored in interface IEnergyProvidergetEnergyStored in interface IEnergyReceivergetEnergyStored in class TileEngineBasepublic int getMaxEnergyStored(net.minecraftforge.common.util.ForgeDirection side)
IEnergyHandlergetMaxEnergyStored in interface IEnergyHandlergetMaxEnergyStored in interface IEnergyProvidergetMaxEnergyStored in interface IEnergyReceivergetMaxEnergyStored in class TileEngineBaseprotected void sendPower()
sendPower in class TileEngineBase