public class TileZonePlan extends TileBuildCraft implements net.minecraft.inventory.IInventory
| Modifier and Type | Field and Description |
|---|---|
int |
chunkStartX |
int |
chunkStartZ |
static int |
CRAFT_TIME |
java.lang.String |
mapName |
short |
progress |
static int |
RESOLUTION |
cache, guiWatchers, mode| Constructor and Description |
|---|
TileZonePlan() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeInventory() |
net.minecraft.item.ItemStack |
decrStackSize(int slotId,
int count) |
java.lang.String |
getInventoryName() |
int |
getInventoryStackLimit() |
byte[] |
getPreviewTexture(boolean force) |
int |
getSizeInventory() |
net.minecraft.item.ItemStack |
getStackInSlot(int slotId) |
net.minecraft.item.ItemStack |
getStackInSlotOnClosing(int slotId) |
boolean |
hasCustomInventoryName() |
void |
initialize() |
boolean |
isItemValidForSlot(int i,
net.minecraft.item.ItemStack itemstack) |
boolean |
isUseableByPlayer(net.minecraft.entity.player.EntityPlayer entityplayer) |
void |
openInventory() |
void |
readData(io.netty.buffer.ByteBuf stream)
Deserializes the state from the stream
|
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbt) |
ZonePlan |
selectArea(int index) |
void |
setArea(int index,
ZonePlan area) |
void |
setInventorySlotContents(int slotId,
net.minecraft.item.ItemStack itemstack) |
void |
updateEntity() |
void |
writeData(io.netty.buffer.ByteBuf stream)
Serializes the state to the stream
|
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
addGuiWatcher, canConnectEnergy, destroy, equals, extractEnergy, getBattery, getBlock, getControlMode, getDescriptionPacket, getEnergyStored, getMaxEnergyStored, getOwner, getPacketUpdate, getTicksSinceEnergyReceived, getTile, hashCode, invalidate, onBlockPlacedBy, receiveEnergy, removeGuiWatcher, sendNetworkUpdate, setBattery, setControlMode, validateaddMapping, canUpdate, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDistanceFrom, getMaxRenderDistanceSquared, getRenderBoundingBox, getWorldObj, hasWorldObj, isInvalid, markDirty, onChunkUnload, onDataPacket, receiveClientEvent, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfopublic static final int RESOLUTION
public static final int CRAFT_TIME
public int chunkStartX
public int chunkStartZ
public short progress
public java.lang.String mapName
public byte[] getPreviewTexture(boolean force)
public void initialize()
initialize in class TileBuildCraftpublic void updateEntity()
updateEntity in class TileBuildCraftpublic void writeToNBT(net.minecraft.nbt.NBTTagCompound nbt)
writeToNBT in class TileBuildCraftpublic void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
readFromNBT in class TileBuildCraftpublic void writeData(io.netty.buffer.ByteBuf stream)
ISerializablewriteData in interface ISerializablewriteData in class TileBuildCraftpublic void readData(io.netty.buffer.ByteBuf stream)
ISerializablereadData in interface ISerializablereadData in class TileBuildCraftpublic ZonePlan selectArea(int index)
public void setArea(int index,
ZonePlan area)
public int getSizeInventory()
getSizeInventory in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack getStackInSlot(int slotId)
getStackInSlot in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack decrStackSize(int slotId,
int count)
decrStackSize in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack getStackInSlotOnClosing(int slotId)
getStackInSlotOnClosing in interface net.minecraft.inventory.IInventorypublic void setInventorySlotContents(int slotId,
net.minecraft.item.ItemStack itemstack)
setInventorySlotContents in interface net.minecraft.inventory.IInventorypublic java.lang.String getInventoryName()
getInventoryName in interface net.minecraft.inventory.IInventorypublic boolean hasCustomInventoryName()
hasCustomInventoryName in interface net.minecraft.inventory.IInventorypublic int getInventoryStackLimit()
getInventoryStackLimit in interface net.minecraft.inventory.IInventorypublic boolean isUseableByPlayer(net.minecraft.entity.player.EntityPlayer entityplayer)
isUseableByPlayer in interface net.minecraft.inventory.IInventorypublic void openInventory()
openInventory in interface net.minecraft.inventory.IInventorypublic void closeInventory()
closeInventory in interface net.minecraft.inventory.IInventorypublic boolean isItemValidForSlot(int i,
net.minecraft.item.ItemStack itemstack)
isItemValidForSlot in interface net.minecraft.inventory.IInventory