public class TileEntityDrawBridge
extends info.u_team.u_team_core.tileentity.UTileEntity
implements net.minecraft.util.ITickable, net.minecraft.inventory.IInventory, info.u_team.u_team_core.api.ISyncedContainerTileEntity
Constructor and Description |
---|
TileEntityDrawBridge() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
closeInventory(net.minecraft.entity.player.EntityPlayer player) |
net.minecraft.item.ItemStack |
decrStackSize(int index,
int count) |
void |
forceRerendering() |
void |
getChunkLoadServerSyncData(net.minecraft.nbt.NBTTagCompound compound) |
void |
getClientSyncContainerData(net.minecraft.nbt.NBTTagCompound compound) |
int |
getField(int id) |
int |
getFieldCount() |
int |
getInventoryStackLimit() |
java.lang.String |
getName() |
InventoryOneSlotImplemention |
getRenderSlot() |
void |
getServerSyncContainerData(net.minecraft.nbt.NBTTagCompound compound) |
int |
getSizeInventory() |
int |
getSpeed() |
net.minecraft.item.ItemStack |
getStackInSlot(int index) |
void |
handleChunkLoadClientSyncData(net.minecraft.nbt.NBTTagCompound compound) |
void |
handleFromClientSyncContainerData(net.minecraft.nbt.NBTTagCompound compound) |
void |
handleFromServerSyncContainerData(net.minecraft.nbt.NBTTagCompound compound) |
boolean |
hasCustomName() |
boolean |
isEmpty() |
boolean |
isExtended() |
boolean |
isItemValidForSlot(int index,
net.minecraft.item.ItemStack stack) |
boolean |
isUsableByPlayer(net.minecraft.entity.player.EntityPlayer player) |
void |
openInventory(net.minecraft.entity.player.EntityPlayer player) |
void |
readNBT(net.minecraft.nbt.NBTTagCompound compound) |
net.minecraft.item.ItemStack |
removeStackFromSlot(int index) |
void |
setField(int id,
int value) |
void |
setInventorySlotContents(int index,
net.minecraft.item.ItemStack stack) |
void |
setSpeed(int speed) |
void |
update() |
void |
writeNBT(net.minecraft.nbt.NBTTagCompound compound) |
getServerSyncData, getUpdatePacket, getUpdateTag, handleClientSyncData, handleUpdateTag, onDataPacket, readFromNBT, sendChangesToClient, sendChangesToClient, writeToNBT
addInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getCapability, getDisplayName, getDistanceSq, getKey, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, hasCapability, hasFastRenderer, hasWorld, invalidate, isInvalid, markDirty, mirror, onChunkUnload, onLoad, onlyOpsCanSetNbt, receiveClientEvent, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, setWorldCreate, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validate
public void update()
update
in interface net.minecraft.util.ITickable
public void getChunkLoadServerSyncData(net.minecraft.nbt.NBTTagCompound compound)
getChunkLoadServerSyncData
in class info.u_team.u_team_core.tileentity.UTileEntity
public void handleChunkLoadClientSyncData(net.minecraft.nbt.NBTTagCompound compound)
handleChunkLoadClientSyncData
in class info.u_team.u_team_core.tileentity.UTileEntity
public void getServerSyncContainerData(net.minecraft.nbt.NBTTagCompound compound)
getServerSyncContainerData
in interface info.u_team.u_team_core.api.ISyncedContainerTileEntity
public void handleFromServerSyncContainerData(net.minecraft.nbt.NBTTagCompound compound)
handleFromServerSyncContainerData
in interface info.u_team.u_team_core.api.ISyncedContainerTileEntity
public void getClientSyncContainerData(net.minecraft.nbt.NBTTagCompound compound)
getClientSyncContainerData
in interface info.u_team.u_team_core.api.ISyncedContainerTileEntity
public void handleFromClientSyncContainerData(net.minecraft.nbt.NBTTagCompound compound)
handleFromClientSyncContainerData
in interface info.u_team.u_team_core.api.ISyncedContainerTileEntity
public void forceRerendering()
public boolean isExtended()
public InventoryOneSlotImplemention getRenderSlot()
public int getSpeed()
public void setSpeed(int speed)
public void readNBT(net.minecraft.nbt.NBTTagCompound compound)
readNBT
in class info.u_team.u_team_core.tileentity.UTileEntity
public void writeNBT(net.minecraft.nbt.NBTTagCompound compound)
writeNBT
in class info.u_team.u_team_core.tileentity.UTileEntity
public java.lang.String getName()
getName
in interface net.minecraft.world.IWorldNameable
public boolean hasCustomName()
hasCustomName
in interface net.minecraft.world.IWorldNameable
public int getSizeInventory()
getSizeInventory
in interface net.minecraft.inventory.IInventory
public boolean isEmpty()
isEmpty
in interface net.minecraft.inventory.IInventory
public net.minecraft.item.ItemStack getStackInSlot(int index)
getStackInSlot
in interface net.minecraft.inventory.IInventory
public net.minecraft.item.ItemStack decrStackSize(int index, int count)
decrStackSize
in interface net.minecraft.inventory.IInventory
public net.minecraft.item.ItemStack removeStackFromSlot(int index)
removeStackFromSlot
in interface net.minecraft.inventory.IInventory
public void setInventorySlotContents(int index, net.minecraft.item.ItemStack stack)
setInventorySlotContents
in interface net.minecraft.inventory.IInventory
public int getInventoryStackLimit()
getInventoryStackLimit
in interface net.minecraft.inventory.IInventory
public boolean isUsableByPlayer(net.minecraft.entity.player.EntityPlayer player)
isUsableByPlayer
in interface net.minecraft.inventory.IInventory
public void openInventory(net.minecraft.entity.player.EntityPlayer player)
openInventory
in interface net.minecraft.inventory.IInventory
public void closeInventory(net.minecraft.entity.player.EntityPlayer player)
closeInventory
in interface net.minecraft.inventory.IInventory
public boolean isItemValidForSlot(int index, net.minecraft.item.ItemStack stack)
isItemValidForSlot
in interface net.minecraft.inventory.IInventory
public int getField(int id)
getField
in interface net.minecraft.inventory.IInventory
public void setField(int id, int value)
setField
in interface net.minecraft.inventory.IInventory
public int getFieldCount()
getFieldCount
in interface net.minecraft.inventory.IInventory
public void clear()
clear
in interface net.minecraft.inventory.IInventory