public class BugCrateBlockEntity extends MachineBaseBlockEntity
customName, processTime, totalProcessTime| Constructor and Description |
|---|
BugCrateBlockEntity() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExtractItem(int slotID,
net.minecraft.item.ItemStack itemstack,
net.minecraft.util.EnumFacing side) |
protected boolean |
canProcess(int process) |
net.minecraft.inventory.Container |
createContainer(net.minecraft.entity.player.InventoryPlayer playerInventory,
net.minecraft.entity.player.EntityPlayer player) |
java.lang.String |
getGuiID() |
protected int[] |
getInputs() |
protected int[] |
getInputs(int process) |
protected int |
getMainOutput(int process) |
java.lang.String |
getName() |
protected int[] |
getOutputs() |
protected int |
getProcess(int slot) |
protected int |
getProcessCount() |
protected net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> |
getSlots() |
protected int |
getStackProcessTime(net.minecraft.item.ItemStack stack) |
boolean |
isEmpty() |
boolean |
isItemValidForSlot(int slotID,
net.minecraft.item.ItemStack itemstack) |
protected void |
processItem(int process) |
void |
setInventorySlotContents(int index,
net.minecraft.item.ItemStack stack) |
protected void |
setSlots(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> slots) |
canInsertItem, clear, closeInventory, decreaseStackSize, decrStackSize, getCapability, getField, getFieldCount, getInventoryStackLimit, getOutputSlot, getSizeInventory, getSlotsForFace, getStackInSlot, getSyncFields, getUpdatePacket, getUpdateTag, hasCustomName, hasOutputSlot, isProcessing, isProcessing, isUsableByPlayer, mergeStack, onDataPacket, onSlotUpdate, openInventory, packetDataHandler, readFromNBT, removeStackFromSlot, setCustomInventoryName, setField, shouldResetProgress, update, writeToNBTcreateUnSidedHandler, getDisplayName, getLockCode, hasCapability, isLocked, setLockCodeaddInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getDistanceSq, getKey, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, handleUpdateTag, hasFastRenderer, hasWorld, invalidate, isInvalid, markDirty, mirror, onChunkUnload, onLoad, onlyOpsCanSetNbt, receiveClientEvent, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, setWorldCreate, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validateprotected int getProcess(int slot)
getProcess in class MachineBaseBlockEntityprotected boolean canProcess(int process)
canProcess in class MachineBaseBlockEntityprotected void processItem(int process)
processItem in class MachineBaseBlockEntityprotected int getMainOutput(int process)
getMainOutput in class MachineBaseBlockEntityprotected int getStackProcessTime(net.minecraft.item.ItemStack stack)
getStackProcessTime in class MachineBaseBlockEntityprotected int getProcessCount()
getProcessCount in class MachineBaseBlockEntityprotected int[] getInputs()
getInputs in class MachineBaseBlockEntityprotected int[] getInputs(int process)
getInputs in class MachineBaseBlockEntityprotected int[] getOutputs()
getOutputs in class MachineBaseBlockEntityprotected net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> getSlots()
getSlots in class MachineBaseBlockEntityprotected void setSlots(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> slots)
setSlots in class MachineBaseBlockEntitypublic net.minecraft.inventory.Container createContainer(net.minecraft.entity.player.InventoryPlayer playerInventory,
net.minecraft.entity.player.EntityPlayer player)
createContainer in interface net.minecraft.world.IInteractionObjectcreateContainer in class MachineBaseBlockEntitypublic java.lang.String getGuiID()
getGuiID in interface net.minecraft.world.IInteractionObjectgetGuiID in class MachineBaseBlockEntitypublic java.lang.String getName()
getName in interface net.minecraft.world.IWorldNameablegetName in class MachineBaseBlockEntitypublic void setInventorySlotContents(int index,
net.minecraft.item.ItemStack stack)
setInventorySlotContents in interface net.minecraft.inventory.IInventorysetInventorySlotContents in class MachineBaseBlockEntitypublic boolean canExtractItem(int slotID,
net.minecraft.item.ItemStack itemstack,
net.minecraft.util.EnumFacing side)
canExtractItem in interface net.minecraft.inventory.ISidedInventorycanExtractItem in class MachineBaseBlockEntitypublic boolean isItemValidForSlot(int slotID,
net.minecraft.item.ItemStack itemstack)
isItemValidForSlot in interface net.minecraft.inventory.IInventoryisItemValidForSlot in class MachineBaseBlockEntitypublic boolean isEmpty()
isEmpty in interface net.minecraft.inventory.IInventoryisEmpty in class MachineBaseBlockEntity