public class TileColossalChest
extends org.cyclops.cyclopscore.tileentity.InventoryTileEntityBase
implements org.cyclops.cyclopscore.tileentity.CyclopsTileEntity.ITickingTile
| Modifier and Type | Field and Description |
|---|---|
static org.cyclops.cyclopscore.block.multi.CubeDetector |
detector
The multiblock structure detector for this furnace.
|
float |
lidAngle
The current angle of the lid.
|
float |
prevLidAngle
The previous angle of the lid.
|
| Constructor and Description |
|---|
TileColossalChest() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
calculateInventorySize() |
boolean |
canInteractWith(net.minecraft.entity.player.EntityPlayer entityPlayer) |
void |
closeInventory(net.minecraft.entity.player.EntityPlayer entityPlayer) |
protected org.cyclops.cyclopscore.inventory.INBTInventory |
constructInventory() |
static void |
detectStructure(net.minecraft.world.World world,
net.minecraft.util.BlockPos location,
net.minecraft.util.Vec3i size,
boolean valid,
net.minecraft.util.BlockPos originCorner)
Callback for when a structure has been detected for a spirit furnace block.
|
java.lang.String |
getCommandSenderName() |
org.cyclops.cyclopscore.inventory.INBTInventory |
getInventory() |
static net.minecraft.util.Vec3i |
getMaxSize() |
net.minecraft.util.AxisAlignedBB |
getRenderBoundingBox() |
net.minecraft.util.Vec3 |
getRenderOffset() |
net.minecraft.util.Vec3i |
getSize() |
int |
getSizeSingular() |
int[] |
getSlotsForFace(net.minecraft.util.EnumFacing side) |
boolean |
hasCustomName() |
boolean |
isStructureComplete() |
boolean |
isUseableByPlayer(net.minecraft.entity.player.EntityPlayer entityPlayer) |
void |
openInventory(net.minecraft.entity.player.EntityPlayer entityPlayer) |
boolean |
receiveClientEvent(int i,
int j) |
void |
setCenter(net.minecraft.util.Vec3 center) |
void |
setCustomName(java.lang.String name) |
void |
setSize(net.minecraft.util.Vec3i size) |
void |
updateTileEntity() |
canAccess, canExtractItem, canInsertItem, clear, decrStackSize, getDisplayName, getField, getFieldCount, getInventoryStackLimit, getSizeInventory, getStackInSlot, getStackInSlotOnClosing, isItemValidForSlot, isSendUpdateOnInventoryChanged, onInventoryChanged, readFromNBT, setField, setInventorySlotContents, setSendUpdateOnInventoryChanged, writeToNBTafterSendUpdate, beforeSendUpdate, destroy, getBlock, getDescriptionPacket, getNBTTagCompound, getRotation, getUpdateBackoffTicks, isRotatable, isTicking, onDataPacket, onLoad, onSendUpdate, onUpdateReceived, readGeneratedFieldsFromNBT, sendImmediateUpdate, sendUpdate, setRotatable, setRotation, shouldRefresh, writeGeneratedFieldsToNBTaddInfoToCrashReport, addMapping, canRenderBreaking, createAndLoadEntity, getBlockMetadata, getBlockType, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getWorld, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, restrictNBTCopy, setPos, setWorldObj, shouldRenderInPass, updateContainingBlockInfo, validatepublic static org.cyclops.cyclopscore.block.multi.CubeDetector detector
public float prevLidAngle
public float lidAngle
public net.minecraft.util.Vec3i getSize()
public void setSize(net.minecraft.util.Vec3i size)
size - the size to setpublic int getSizeSingular()
protected org.cyclops.cyclopscore.inventory.INBTInventory constructInventory()
protected int calculateInventorySize()
public void updateTileEntity()
updateTileEntity in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntitypublic boolean receiveClientEvent(int i,
int j)
receiveClientEvent in class net.minecraft.tileentity.TileEntitypublic void openInventory(net.minecraft.entity.player.EntityPlayer entityPlayer)
openInventory in interface net.minecraft.inventory.IInventoryopenInventory in class org.cyclops.cyclopscore.tileentity.InventoryTileEntityBasepublic void closeInventory(net.minecraft.entity.player.EntityPlayer entityPlayer)
closeInventory in interface net.minecraft.inventory.IInventorycloseInventory in class org.cyclops.cyclopscore.tileentity.InventoryTileEntityBasepublic org.cyclops.cyclopscore.inventory.INBTInventory getInventory()
getInventory in class org.cyclops.cyclopscore.tileentity.InventoryTileEntityBasepublic boolean isUseableByPlayer(net.minecraft.entity.player.EntityPlayer entityPlayer)
isUseableByPlayer in interface net.minecraft.inventory.IInventoryisUseableByPlayer in class org.cyclops.cyclopscore.tileentity.InventoryTileEntityBasepublic boolean canInteractWith(net.minecraft.entity.player.EntityPlayer entityPlayer)
canInteractWith in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntitypublic net.minecraft.util.AxisAlignedBB getRenderBoundingBox()
getRenderBoundingBox in class net.minecraft.tileentity.TileEntitypublic void setCenter(net.minecraft.util.Vec3 center)
public net.minecraft.util.Vec3 getRenderOffset()
public static void detectStructure(net.minecraft.world.World world,
net.minecraft.util.BlockPos location,
net.minecraft.util.Vec3i size,
boolean valid,
net.minecraft.util.BlockPos originCorner)
world - The world.location - The location of one block of the structure.size - The size of the structure.valid - If the structure is being validated(/created), otherwise invalidated.originCorner - The origin cornerpublic int[] getSlotsForFace(net.minecraft.util.EnumFacing side)
getSlotsForFace in interface net.minecraft.inventory.ISidedInventorypublic boolean isStructureComplete()
public static net.minecraft.util.Vec3i getMaxSize()
public boolean hasCustomName()
hasCustomName in interface net.minecraft.world.IWorldNameablehasCustomName in class org.cyclops.cyclopscore.tileentity.InventoryTileEntityBasepublic void setCustomName(java.lang.String name)
public java.lang.String getCommandSenderName()
getCommandSenderName in interface net.minecraft.world.IWorldNameablegetCommandSenderName in class org.cyclops.cyclopscore.tileentity.InventoryTileEntityBase