public class TileEntityCompactEngine extends net.minecraft.tileentity.TileEntity implements IRotaryOutput, net.minecraft.inventory.IInventory
| Modifier and Type | Field and Description |
|---|---|
AxisChain |
chain |
int |
dir |
net.minecraft.item.ItemStack |
fuel |
boolean |
inInventory |
java.lang.String |
name |
int |
output |
boolean |
ready |
int |
sync_offset |
int |
ticksForUsedFuel |
int |
ticksLeft |
| Constructor and Description |
|---|
TileEntityCompactEngine() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
void |
closeInventory() |
net.minecraft.item.ItemStack |
decrStackSize(int slot,
int amount) |
void |
dropInv(net.minecraft.world.World world,
int x,
int y,
int z) |
net.minecraft.network.Packet |
getDescriptionPacket() |
java.lang.String |
getInventoryName() |
int |
getInventoryStackLimit() |
net.minecraft.util.AxisAlignedBB |
getRenderBoundingBox() |
int |
getRotaryOutput(int side) |
int |
getSizeInventory() |
net.minecraft.item.ItemStack |
getStackInSlot(int slot) |
net.minecraft.item.ItemStack |
getStackInSlotOnClosing(int p_70304_1_) |
int |
getTicksLeftScaled(int scale) |
boolean |
hasCustomInventoryName() |
boolean |
isItemValidForSlot(int p_94041_1_,
net.minecraft.item.ItemStack p_94041_2_) |
boolean |
isOutputFace(int side) |
boolean |
isUseableByPlayer(net.minecraft.entity.player.EntityPlayer p_70300_1_) |
void |
onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.S35PacketUpdateTileEntity pkg) |
void |
openInventory() |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound tag) |
void |
rotate(int newDir) |
void |
setInventorySlotContents(int slot,
net.minecraft.item.ItemStack stack) |
void |
setRotaryOutput(int side,
int speed) |
void |
updateEntity() |
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound tag) |
addMapping, canUpdate, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDistanceFrom, getMaxRenderDistanceSquared, getWorldObj, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, receiveClientEvent, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validatepublic boolean ready
public int dir
public int output
public int ticksLeft
public int ticksForUsedFuel
public net.minecraft.item.ItemStack fuel
public java.lang.String name
public int sync_offset
public AxisChain chain
public boolean inInventory
public void updateEntity()
updateEntity in class net.minecraft.tileentity.TileEntitypublic void readFromNBT(net.minecraft.nbt.NBTTagCompound tag)
readFromNBT in class net.minecraft.tileentity.TileEntitypublic void writeToNBT(net.minecraft.nbt.NBTTagCompound tag)
writeToNBT in class net.minecraft.tileentity.TileEntitypublic void onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.S35PacketUpdateTileEntity pkg)
onDataPacket in class net.minecraft.tileentity.TileEntitypublic net.minecraft.network.Packet getDescriptionPacket()
getDescriptionPacket in class net.minecraft.tileentity.TileEntitypublic boolean isOutputFace(int side)
isOutputFace in interface IRotaryOutputpublic int getRotaryOutput(int side)
getRotaryOutput in interface IRotaryOutputpublic void setRotaryOutput(int side,
int speed)
setRotaryOutput in interface IRotaryOutputpublic void rotate(int newDir)
public void cleanup()
public int getSizeInventory()
getSizeInventory in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack getStackInSlot(int slot)
getStackInSlot in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack decrStackSize(int slot,
int amount)
decrStackSize in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack getStackInSlotOnClosing(int p_70304_1_)
getStackInSlotOnClosing in interface net.minecraft.inventory.IInventorypublic void setInventorySlotContents(int slot,
net.minecraft.item.ItemStack stack)
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 p_70300_1_)
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 p_94041_1_,
net.minecraft.item.ItemStack p_94041_2_)
isItemValidForSlot in interface net.minecraft.inventory.IInventorypublic void dropInv(net.minecraft.world.World world,
int x,
int y,
int z)
public int getTicksLeftScaled(int scale)
public net.minecraft.util.AxisAlignedBB getRenderBoundingBox()
getRenderBoundingBox in class net.minecraft.tileentity.TileEntity