public class TileEngineIron_BC8 extends TileEngineBase_BC8
TileEngineBase_BC8.ITileBuffer
Modifier and Type | Field and Description |
---|---|
static double |
COOLDOWN_RATE |
static int |
MAX_COOLANT_PER_TICK |
static int |
MAX_FLUID |
Tank |
tankCoolant |
Tank |
tankFuel |
Tank |
tankResidue |
clientModelData, currentDirection, currentOutput, heat, HEAT_PER_MJ, IDEAL_HEAT, isPumping, isRedstonePowered, MAX_HEAT, MIN_HEAT, mjConnector, power, powerStage
caps, DEBUG, deltaManager, IDS, itemManager, NET_ADV_DEBUG, NET_ADV_DEBUG_DISABLE, NET_GUI_DATA, NET_GUI_DELTA_CLEAR, NET_GUI_DELTA_SINGLE, NET_GUI_TICK, NET_REDRAW, NET_REN_DELTA_CLEAR, NET_REN_DELTA_SINGLE, NET_RENDER_DATA, tankManager
Constructor and Description |
---|
TileEngineIron_BC8() |
Modifier and Type | Method and Description |
---|---|
protected void |
burn() |
protected IMjConnector |
createConnector() |
float |
explosionRange() |
long |
getCurrentOutput() |
long |
getMaxPower() |
double |
getPistonSpeed() |
boolean |
isActive() |
boolean |
isBurning() |
long |
maxPowerExtracted() |
long |
maxPowerReceived() |
boolean |
onActivated(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ) |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbt) |
void |
readPayload(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side,
net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx) |
void |
updateHeatLevel() |
void |
writePayload(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side) |
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
addPower, attemptRotation, computePowerStage, engineUpdate, extractPower, getBiome, getBiomeHeat, getCapability, getClientDebugInfo, getCurrentFacing, getDebugInfo, getEnergyStored, getHeat, getHeatLevel, getIdealHeatLevel, getPowerLevel, getPowerStage, getProgressClient, getReceiverToPower, getTileBuffer, hasFastRenderer, invalidate, isEngineOn, isPoweredTile, minPowerReceived, onPlacedBy, rotateIfInvalid, setPumping, update, validate
addDrops, canEditOther, canInteractWith, cannotUpdate, canPlayerEdit, createAndSendGuiMessage, createAndSendGuiMessage, createAndSendMessage, createAndSendMessage, createMessage, createNetworkUpdate, disableDebugging, doesExistInWorld, enableDebugging, getCurrentState, getCurrentStateForBlock, getDebugRenderer, getIdAllocator, getLocalState, getLocalTile, getNeighbourState, getNeighbourTile, getOffsetState, getOffsetTile, getOwner, getPermBlock, getUpdatePacket, getUpdateTag, handleUpdateTag, hasCapability, isBeingDebugged, migrateOldNBT, onDataPacket, onExplode, onNeighbourBlockChanged, onPlayerClose, onPlayerOpen, onRemove, onSlotChange, receivePayload, redrawBlock, sendDebugState, sendNetworkGuiTick, sendNetworkGuiUpdate, sendNetworkUpdate, sendNetworkUpdate, setWorldCreate, shouldRefresh
addInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getDisplayName, getDistanceSq, getKey, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, hasWorld, isInvalid, markDirty, mirror, onChunkUnload, onLoad, onlyOpsCanSetNbt, receiveClientEvent, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, shouldRenderInPass, updateContainingBlockInfo
public static final int MAX_FLUID
public static final double COOLDOWN_RATE
public static final int MAX_COOLANT_PER_TICK
public final Tank tankFuel
public final Tank tankCoolant
public final Tank tankResidue
public net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound nbt)
writeToNBT
in class TileEngineBase_BC8
public void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
readFromNBT
in class TileEngineBase_BC8
public void readPayload(int id, PacketBufferBC buffer, net.minecraftforge.fml.relauncher.Side side, net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx) throws java.io.IOException
readPayload
in class TileEngineBase_BC8
ctx
- The context. Will be null if this is a generic update payloadjava.io.IOException
- if something went wrongpublic void writePayload(int id, PacketBufferBC buffer, net.minecraftforge.fml.relauncher.Side side)
writePayload
in class TileEngineBase_BC8
public boolean onActivated(net.minecraft.entity.player.EntityPlayer player, net.minecraft.util.EnumHand hand, net.minecraft.util.EnumFacing side, float hitX, float hitY, float hitZ)
onActivated
in class TileBC_Neptune
public double getPistonSpeed()
getPistonSpeed
in class TileEngineBase_BC8
@Nonnull protected IMjConnector createConnector()
createConnector
in class TileEngineBase_BC8
public boolean isBurning()
isBurning
in class TileEngineBase_BC8
protected void burn()
burn
in class TileEngineBase_BC8
public void updateHeatLevel()
updateHeatLevel
in class TileEngineBase_BC8
public boolean isActive()
isActive
in class TileEngineBase_BC8
public long getMaxPower()
getMaxPower
in class TileEngineBase_BC8
public long maxPowerReceived()
maxPowerReceived
in class TileEngineBase_BC8
public long maxPowerExtracted()
maxPowerExtracted
in class TileEngineBase_BC8
public float explosionRange()
explosionRange
in class TileEngineBase_BC8
public long getCurrentOutput()
getCurrentOutput
in class TileEngineBase_BC8