public class TileLaser extends TileBuildCraft implements IActionReceptor, IMachine
| Constructor and Description |
|---|
TileLaser() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionActivated(IAction action) |
boolean |
allowAction(IAction action) |
protected boolean |
canFindTable() |
protected boolean |
canUpdateLaser() |
protected void |
findTable() |
protected float |
getMaxPowerSent() |
net.minecraft.util.AxisAlignedBB |
getRenderBoundingBox() |
net.minecraft.util.ResourceLocation |
getTexture() |
void |
initialize() |
void |
invalidate() |
boolean |
isActive() |
protected boolean |
isValidTable() |
boolean |
manageFluids() |
boolean |
manageSolids() |
protected void |
onPowerSent(double power) |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound) |
protected void |
removeLaser() |
void |
sendNetworkUpdate() |
void |
updateEntity() |
protected void |
updateLaser() |
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound) |
destroy, getDescriptionPacket, getOwner, getPacketPayload, getUpdatePacket, getWorld, handleDescriptionPacket, handleUpdatePacket, onBlockPlacedBy, postPacketHandlingaddMapping, 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 float getMaxPowerSent()
protected void onPowerSent(double 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 boolean manageFluids()
manageFluids in interface IMachinepublic boolean manageSolids()
manageSolids in interface IMachinepublic boolean allowAction(IAction action)
allowAction in interface IMachinepublic void actionActivated(IAction action)
actionActivated in interface IActionReceptorpublic net.minecraft.util.ResourceLocation getTexture()
public net.minecraft.util.AxisAlignedBB getRenderBoundingBox()
getRenderBoundingBox in class net.minecraft.tileentity.TileEntity