public class TileInterface
extends org.cyclops.cyclopscore.tileentity.CyclopsTileEntity
implements net.minecraft.inventory.ISidedInventory
| Modifier and Type | Class and Description |
|---|---|
static class |
TileInterface.TileInterfaceInventoryState
|
| Constructor and Description |
|---|
TileInterface() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addInventoryStateCapability() |
boolean |
canExtractItem(int index,
net.minecraft.item.ItemStack stack,
net.minecraft.util.EnumFacing direction) |
boolean |
canInsertItem(int index,
net.minecraft.item.ItemStack itemStackIn,
net.minecraft.util.EnumFacing direction) |
void |
clear() |
void |
closeInventory(net.minecraft.entity.player.EntityPlayer player) |
net.minecraft.item.ItemStack |
decrStackSize(int index,
int count) |
protected TileColossalChest |
getCore() |
net.minecraft.util.text.ITextComponent |
getDisplayName() |
int |
getField(int id) |
int |
getFieldCount() |
int |
getInventoryStackLimit() |
java.lang.String |
getName() |
int |
getSizeInventory() |
int[] |
getSlotsForFace(net.minecraft.util.EnumFacing side) |
net.minecraft.item.ItemStack |
getStackInSlot(int index) |
boolean |
hasCustomName() |
boolean |
isItemValidForSlot(int index,
net.minecraft.item.ItemStack stack) |
boolean |
isUseableByPlayer(net.minecraft.entity.player.EntityPlayer player) |
void |
openInventory(net.minecraft.entity.player.EntityPlayer player) |
net.minecraft.item.ItemStack |
removeStackFromSlot(int index) |
void |
setCorePosition(net.minecraft.util.math.Vec3i corePosition) |
void |
setField(int id,
int value) |
void |
setInventorySlotContents(int index,
net.minecraft.item.ItemStack stack) |
addCapabilityInternal, addCapabilitySided, afterSendUpdate, beforeSendUpdate, canInteractWith, destroy, getBlock, getCapabilities, getCapability, getNBTTagCompound, getRotation, getUpdateBackoffTicks, getUpdatePacket, getUpdateTag, hasCapability, isRotatable, isTicking, onDataPacket, onLoad, onSendUpdate, onUpdateReceived, readFromNBT, readGeneratedFieldsFromNBT, sendImmediateUpdate, sendUpdate, setRotatable, setRotation, shouldRefresh, updateTileEntity, writeGeneratedFieldsToNBT, writeToNBTaddInfoToCrashReport, addMapping, canRenderBreaking, create, deserializeNBT, func_189667_a, func_189668_a, getBlockMetadata, getBlockType, getDistanceSq, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, handleUpdateTag, hasFastRenderer, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, onlyOpsCanSetNbt, receiveClientEvent, restrictNBTCopy, serializeNBT, setPos, setWorldCreate, setWorldObj, shouldRenderInPass, updateContainingBlockInfo, validateprotected void addInventoryStateCapability()
public void setCorePosition(net.minecraft.util.math.Vec3i corePosition)
protected TileColossalChest getCore()
public int[] getSlotsForFace(net.minecraft.util.EnumFacing side)
getSlotsForFace in interface net.minecraft.inventory.ISidedInventorypublic boolean canInsertItem(int index,
net.minecraft.item.ItemStack itemStackIn,
net.minecraft.util.EnumFacing direction)
canInsertItem in interface net.minecraft.inventory.ISidedInventorypublic boolean canExtractItem(int index,
net.minecraft.item.ItemStack stack,
net.minecraft.util.EnumFacing direction)
canExtractItem in interface net.minecraft.inventory.ISidedInventorypublic int getSizeInventory()
getSizeInventory in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack getStackInSlot(int index)
getStackInSlot in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack decrStackSize(int index,
int count)
decrStackSize in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack removeStackFromSlot(int index)
removeStackFromSlot in interface net.minecraft.inventory.IInventorypublic void setInventorySlotContents(int index,
net.minecraft.item.ItemStack stack)
setInventorySlotContents in interface net.minecraft.inventory.IInventorypublic int getInventoryStackLimit()
getInventoryStackLimit in interface net.minecraft.inventory.IInventorypublic boolean isUseableByPlayer(net.minecraft.entity.player.EntityPlayer player)
isUseableByPlayer in interface net.minecraft.inventory.IInventorypublic void openInventory(net.minecraft.entity.player.EntityPlayer player)
openInventory in interface net.minecraft.inventory.IInventorypublic void closeInventory(net.minecraft.entity.player.EntityPlayer player)
closeInventory in interface net.minecraft.inventory.IInventorypublic boolean isItemValidForSlot(int index,
net.minecraft.item.ItemStack stack)
isItemValidForSlot in interface net.minecraft.inventory.IInventorypublic int getField(int id)
getField in interface net.minecraft.inventory.IInventorypublic void setField(int id,
int value)
setField in interface net.minecraft.inventory.IInventorypublic int getFieldCount()
getFieldCount in interface net.minecraft.inventory.IInventorypublic void clear()
clear in interface net.minecraft.inventory.IInventorypublic java.lang.String getName()
getName in interface net.minecraft.world.IWorldNameablepublic boolean hasCustomName()
hasCustomName in interface net.minecraft.world.IWorldNameablepublic net.minecraft.util.text.ITextComponent getDisplayName()
getDisplayName in interface net.minecraft.world.IWorldNameablegetDisplayName in class net.minecraft.tileentity.TileEntity