public class TileEngineCreative extends TileEngineBase_BC8
TileEngineBase_BC8.ITileBuffer
Modifier and Type | Field and Description |
---|---|
int |
currentOutputIndex |
static long[] |
outputs |
clientModelData, currentDirection, currentOutput, heat, HEAT_PER_MJ, IDEAL_HEAT, 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 |
---|
TileEngineCreative() |
Modifier and Type | Method and Description |
---|---|
protected EnumPowerStage |
computePowerStage() |
protected IMjConnector |
createConnector() |
protected void |
engineUpdate() |
float |
explosionRange() |
long |
getCurrentOutput() |
long |
getMaxPower() |
double |
getPistonSpeed() |
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 |
writePayload(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side) |
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
addPower, attemptRotation, burn, extractPower, getBiome, getBiomeHeat, getCapability, getClientDebugInfo, getCurrentFacing, getDebugInfo, getEnergyStored, getHeat, getHeatLevel, getIdealHeatLevel, getPowerLevel, getPowerStage, getProgressClient, getReceiverToPower, getTileBuffer, hasFastRenderer, invalidate, isActive, isEngineOn, isPoweredTile, minPowerReceived, onPlacedBy, rotateIfInvalid, setPumping, update, updateHeatLevel, 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, onPlayerClose, onPlayerOpen, onRemove, onSlotChange, receivePayload, redrawBlock, registerTile, 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, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, shouldRenderInPass, updateContainingBlockInfo
public static final long[] outputs
public int currentOutputIndex
public void writePayload(int id, PacketBufferBC buffer, net.minecraftforge.fml.relauncher.Side side)
writePayload
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 wrongprotected void engineUpdate()
engineUpdate
in class TileEngineBase_BC8
@Nonnull protected IMjConnector createConnector()
createConnector
in class TileEngineBase_BC8
public boolean isBurning()
isBurning
in class TileEngineBase_BC8
public double getPistonSpeed()
getPistonSpeed
in class TileEngineBase_BC8
protected EnumPowerStage computePowerStage()
computePowerStage
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
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 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