public class IncubatorBlockEntity extends MachineBaseBlockEntity implements TemperatureControl
customName, processTime, totalProcessTime| Constructor and Description |
|---|
IncubatorBlockEntity() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canProcess(int process) |
net.minecraft.inventory.Container |
createContainer(net.minecraft.entity.player.InventoryPlayer playerInventory,
net.minecraft.entity.player.EntityPlayer playerIn) |
int |
getField(int id) |
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) |
int |
getTemperature(int index) |
int |
getTemperatureCount() |
boolean |
isEmpty() |
protected void |
processItem(int process) |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound compound) |
void |
setField(int id,
int value) |
protected void |
setSlots(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> slots) |
void |
setTemperature(int index,
int value) |
protected boolean |
shouldResetProgress() |
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound compound) |
canExtractItem, canInsertItem, clear, closeInventory, decreaseStackSize, decrStackSize, getCapability, getFieldCount, getInventoryStackLimit, getOutputSlot, getSizeInventory, getSlotsForFace, getStackInSlot, getUpdatePacket, getUpdateTag, hasCustomName, hasOutputSlot, isItemValidForSlot, isProcessing, isProcessing, isUsableByPlayer, mergeStack, onDataPacket, onSlotUpdate, openInventory, removeStackFromSlot, setCustomInventoryName, setInventorySlotContents, updatecreateUnSidedHandler, 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, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void readFromNBT(net.minecraft.nbt.NBTTagCompound compound)
readFromNBT in class MachineBaseBlockEntitypublic net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound compound)
writeToNBT in class MachineBaseBlockEntityprotected 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 playerIn)
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 int getField(int id)
getField in interface net.minecraft.inventory.IInventorygetField in class MachineBaseBlockEntitypublic void setField(int id,
int value)
setField in interface net.minecraft.inventory.IInventorysetField in class MachineBaseBlockEntityprotected boolean shouldResetProgress()
shouldResetProgress in class MachineBaseBlockEntitypublic void setTemperature(int index,
int value)
setTemperature in interface TemperatureControlpublic int getTemperature(int index)
getTemperature in interface TemperatureControlpublic int getTemperatureCount()
getTemperatureCount in interface TemperatureControlpublic boolean isEmpty()
isEmpty in interface net.minecraft.inventory.IInventoryisEmpty in class MachineBaseBlockEntity