public class TilePathMarker extends TileMarker implements IPathProvider
TileMarker.Origin, TileMarker.TileWrapper| Modifier and Type | Field and Description |
|---|---|
LaserData[] |
lasers |
TilePathMarker[] |
links |
boolean |
loadLink0 |
boolean |
loadLink1 |
boolean |
tryingToConnect |
int |
x0 |
int |
x1 |
int |
y0 |
int |
y1 |
int |
z0 |
int |
z1 |
origin, showSignalscache, guiWatchers, mode| Constructor and Description |
|---|
TilePathMarker() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearAvailableMarkersList() |
static void |
clearAvailableMarkersList(net.minecraft.world.World w) |
void |
connect(TilePathMarker marker,
LaserData laser) |
void |
createLaserAndConnect(TilePathMarker pathMarker) |
java.util.ArrayList<BlockIndex> |
getPath() |
void |
initialize() |
void |
invalidate() |
boolean |
isFullyConnected() |
boolean |
isLinkedTo(TilePathMarker pathMarker) |
void |
onChunkUnload() |
void |
readData(io.netty.buffer.ByteBuf data)
Deserializes the state from the stream
|
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound) |
void |
removeFromWorld()
Remove from the world all objects used to define the area.
|
void |
tryConnection() |
void |
updateEntity() |
void |
writeData(io.netty.buffer.ByteBuf data)
Serializes the state to the stream
|
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound) |
destroy, isValidFromLocation, updateSignals, xMax, xMin, yMax, yMin, zMax, zMinaddGuiWatcher, canConnectEnergy, equals, extractEnergy, getBattery, getBlock, getControlMode, getDescriptionPacket, getEnergyStored, getMaxEnergyStored, getOwner, getPacketUpdate, getTicksSinceEnergyReceived, getTile, hashCode, onBlockPlacedBy, receiveEnergy, removeGuiWatcher, sendNetworkUpdate, setBattery, setControlMode, validateaddMapping, canUpdate, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDistanceFrom, getMaxRenderDistanceSquared, getRenderBoundingBox, getWorldObj, hasWorldObj, isInvalid, markDirty, onDataPacket, receiveClientEvent, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfopublic int x0
public int y0
public int z0
public int x1
public int y1
public int z1
public boolean loadLink0
public boolean loadLink1
public LaserData[] lasers
public boolean tryingToConnect
public TilePathMarker[] links
public boolean isFullyConnected()
public boolean isLinkedTo(TilePathMarker pathMarker)
public void connect(TilePathMarker marker, LaserData laser)
public void createLaserAndConnect(TilePathMarker pathMarker)
public void tryConnection()
tryConnection in class TileMarkerpublic void updateEntity()
updateEntity in class TileBuildCraftpublic java.util.ArrayList<BlockIndex> getPath()
getPath in interface IPathProviderpublic void invalidate()
invalidate in class TileMarkerpublic void initialize()
initialize in class TileMarkerpublic void readFromNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound)
readFromNBT in class TileMarkerpublic void writeToNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound)
writeToNBT in class TileMarkerpublic void onChunkUnload()
onChunkUnload in class net.minecraft.tileentity.TileEntitypublic static void clearAvailableMarkersList()
public static void clearAvailableMarkersList(net.minecraft.world.World w)
public void readData(io.netty.buffer.ByteBuf data)
ISerializablereadData in interface ISerializablereadData in class TileMarkerpublic void writeData(io.netty.buffer.ByteBuf data)
ISerializablewriteData in interface ISerializablewriteData in class TileMarkerpublic void removeFromWorld()
IAreaProviderremoveFromWorld in interface IAreaProviderremoveFromWorld in interface IPathProviderremoveFromWorld in class TileMarker