public class CultivatorBlockEntity extends MachineBaseBlockEntity implements TemperatureControl
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_NUTRIENTS |
customName, processTime, totalProcessTime| Constructor and Description |
|---|
CultivatorBlockEntity() |
| 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) |
Dinosaur |
getDinosaur() |
DinosaurEntity |
getDinosaurEntity() |
int |
getField(int id) |
int |
getFieldCount() |
java.lang.String |
getGuiID() |
protected int[] |
getInputs() |
protected int[] |
getInputs(int process) |
int |
getLipids() |
protected int |
getMainOutput(int process) |
int |
getMaxNutrients() |
int |
getMinerals() |
java.lang.String |
getName() |
protected int[] |
getOutputs() |
protected int |
getProcess(int slot) |
protected int |
getProcessCount() |
int |
getProximates() |
protected net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> |
getSlots() |
protected int |
getStackProcessTime(net.minecraft.item.ItemStack stack) |
int |
getTemperature(int index) |
int |
getTemperatureCount() |
int |
getVitamins() |
int |
getWaterLevel() |
boolean |
isEmpty() |
protected void |
onSlotUpdate() |
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> slot) |
void |
setTemperature(int index,
int value) |
void |
update() |
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound compound) |
canExtractItem, canInsertItem, clear, closeInventory, decreaseStackSize, decrStackSize, getCapability, getInventoryStackLimit, getOutputSlot, getSizeInventory, getSlotsForFace, getStackInSlot, getUpdatePacket, getUpdateTag, hasCustomName, hasOutputSlot, isItemValidForSlot, isProcessing, isProcessing, isUsableByPlayer, mergeStack, onDataPacket, openInventory, removeStackFromSlot, setCustomInventoryName, setInventorySlotContents, shouldResetProgresscreateUnSidedHandler, 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 static final int MAX_NUTRIENTS
protected int getProcess(int slot)
getProcess in class MachineBaseBlockEntityprotected boolean canProcess(int process)
canProcess in class MachineBaseBlockEntityprotected void processItem(int process)
processItem in class MachineBaseBlockEntitypublic void update()
update in interface net.minecraft.util.ITickableupdate in class MachineBaseBlockEntityprotected void onSlotUpdate()
onSlotUpdate in class MachineBaseBlockEntitypublic 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 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 MachineBaseBlockEntitypublic DinosaurEntity getDinosaurEntity()
public 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 getWaterLevel()
public int getMaxNutrients()
public int getProximates()
public int getMinerals()
public int getVitamins()
public int getLipids()
public 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 MachineBaseBlockEntitypublic int getFieldCount()
getFieldCount in interface net.minecraft.inventory.IInventorygetFieldCount in class MachineBaseBlockEntitypublic Dinosaur getDinosaur()
public 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 MachineBaseBlockEntityprotected net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> getSlots()
getSlots in class MachineBaseBlockEntityprotected void setSlots(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> slot)
setSlots in class MachineBaseBlockEntity