public class TileLaser extends TileBuildCraft implements IHasWork, IControllable
IControllable.Mode| Modifier and Type | Field and Description |
|---|---|
LaserData |
laser |
guiWatchers| Constructor and Description |
|---|
TileLaser() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsControlMode(IControllable.Mode mode) |
protected boolean |
canFindTable() |
protected boolean |
canUpdateLaser() |
protected void |
findTable() |
IControllable.Mode |
getControlMode() |
protected int |
getMaxPowerSent() |
net.minecraft.util.AxisAlignedBB |
getRenderBoundingBox() |
net.minecraft.util.ResourceLocation |
getTexture() |
boolean |
hasWork() |
void |
initialize() |
void |
invalidate() |
protected boolean |
isValidTable() |
protected void |
onPowerSent(int power) |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound) |
protected void |
removeLaser() |
void |
sendNetworkUpdate() |
void |
setControlMode(IControllable.Mode mode) |
void |
updateEntity() |
protected void |
updateLaser() |
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound) |
addGuiWatcher, canConnectEnergy, destroy, equals, extractEnergy, getBattery, getDescriptionPacket, getEnergyStored, getMaxEnergyStored, getOwner, getPacketPayload, getUpdatePacket, handleDescriptionPacket, handleUpdatePacket, hashCode, onBlockPlacedBy, postPacketHandling, receiveEnergy, removeGuiWatcher, setBatteryaddMapping, canUpdate, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDistanceFrom, getMaxRenderDistanceSquared, getWorldObj, hasWorldObj, isInvalid, markDirty, onChunkUnload, onDataPacket, receiveClientEvent, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validatepublic LaserData laser
public void initialize()
initialize in class TileBuildCraftpublic void updateEntity()
updateEntity in class TileBuildCraftprotected int getMaxPowerSent()
protected void onPowerSent(int power)
protected boolean canFindTable()
protected boolean canUpdateLaser()
protected boolean isValidTable()
protected void findTable()
protected void updateLaser()
protected void removeLaser()
public void sendNetworkUpdate()
sendNetworkUpdate in class TileBuildCraftpublic void readFromNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound)
readFromNBT in class TileBuildCraftpublic void writeToNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound)
writeToNBT in class TileBuildCraftpublic void invalidate()
invalidate in class TileBuildCraftpublic net.minecraft.util.ResourceLocation getTexture()
public net.minecraft.util.AxisAlignedBB getRenderBoundingBox()
getRenderBoundingBox in class net.minecraft.tileentity.TileEntitypublic IControllable.Mode getControlMode()
getControlMode in interface IControllablepublic void setControlMode(IControllable.Mode mode)
setControlMode in interface IControllablepublic boolean acceptsControlMode(IControllable.Mode mode)
acceptsControlMode in interface IControllable