public abstract class MultiblockControllerForestry extends MultiblockControllerBase implements net.minecraft.inventory.ISidedInventory, IOwnedTile, IErrorLogicSource, ILocatable
MultiblockControllerBase.AssemblyStateassemblyState, connectedParts, world| Modifier | Constructor and Description |
|---|---|
protected |
MultiblockControllerForestry(net.minecraft.world.World world) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExtractItem(int slotIndex,
net.minecraft.item.ItemStack itemStack,
net.minecraft.util.EnumFacing side) |
boolean |
canInsertItem(int slotIndex,
net.minecraft.item.ItemStack itemStack,
net.minecraft.util.EnumFacing side) |
void |
clear() |
void |
closeInventory(net.minecraft.entity.player.EntityPlayer player) |
net.minecraft.item.ItemStack |
decrStackSize(int slotIndex,
int amount) |
net.minecraft.util.text.ITextComponent |
getDisplayName() |
IErrorLogic |
getErrorLogic() |
int |
getField(int id) |
int |
getFieldCount() |
IInventoryAdapter |
getInternalInventory() |
int |
getInventoryStackLimit() |
java.lang.String |
getName() |
IOwnerHandler |
getOwnerHandler() |
int |
getSizeInventory() |
int[] |
getSlotsForFace(net.minecraft.util.EnumFacing side) |
net.minecraft.item.ItemStack |
getStackInSlot(int slotIndex) |
net.minecraft.world.World |
getWorldObj() |
boolean |
hasCustomName() |
boolean |
isItemValidForSlot(int slotIndex,
net.minecraft.item.ItemStack itemStack) |
boolean |
isUsableByPlayer(net.minecraft.entity.player.EntityPlayer player) |
void |
markDirty() |
protected void |
onMachineAssembled()
Called when a machine is assembled from a disassembled state.
|
void |
openInventory(net.minecraft.entity.player.EntityPlayer player) |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound data) |
net.minecraft.item.ItemStack |
removeStackFromSlot(int slotIndex) |
void |
setField(int id,
int value) |
void |
setInventorySlotContents(int slotIndex,
net.minecraft.item.ItemStack itemstack) |
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound data) |
_onAssimilated, assimilate, attachBlock, auditParts, checkForDisconnections, checkIfMachineIsWhole, detachAllBlocks, detachBlock, getCenterCoord, getComponents, getLastValidationError, getLastValidationErrorPosition, getMaximumCoord, getMinimumCoord, getNumConnectedBlocks, getPartsListString, getReferenceCoord, getTickCount, getTopCenterCoord, isAssembled, isBlockGoodForExteriorLevel, isBlockGoodForInterior, isCoordInMultiblock, isEmpty, isMachineWhole, onAssimilate, onAssimilated, onAttachedPartWithMultiblockData, onBlockAdded, onBlockRemoved, onMachineDisassembled, onMachinePaused, onMachineRestored, reassemble, recalculateMinMaxCoords, shouldConsume, updateClient, updateMultiblockEntity, updateOnInterval, updateServerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCoordinatesdecodeDescriptionPacket, formatDescriptionPacket, getUnlocalizedTypegetExactHumidity, getExactTemperature, getHumidity, getTemperaturereadGuiData, writeGuiDataprotected MultiblockControllerForestry(net.minecraft.world.World world)
public IOwnerHandler getOwnerHandler()
getOwnerHandler in interface IOwnedTilepublic IErrorLogic getErrorLogic()
getErrorLogic in interface IErrorLogicSourcepublic net.minecraft.world.World getWorldObj()
getWorldObj in interface ILocatablegetWorldObj in interface IMultiblockControllerInternalprotected void onMachineAssembled()
MultiblockControllerBaseonMachineAssembled in class MultiblockControllerBasepublic net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound data)
writeToNBT in interface INbtWritablepublic void readFromNBT(net.minecraft.nbt.NBTTagCompound data)
readFromNBT in interface INbtReadablepublic IInventoryAdapter getInternalInventory()
public void markDirty()
markDirty in interface net.minecraft.inventory.IInventorypublic final int getSizeInventory()
getSizeInventory in interface net.minecraft.inventory.IInventorypublic final net.minecraft.item.ItemStack getStackInSlot(int slotIndex)
getStackInSlot in interface net.minecraft.inventory.IInventorypublic final net.minecraft.item.ItemStack decrStackSize(int slotIndex,
int amount)
decrStackSize in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack removeStackFromSlot(int slotIndex)
removeStackFromSlot in interface net.minecraft.inventory.IInventorypublic final void setInventorySlotContents(int slotIndex,
net.minecraft.item.ItemStack itemstack)
setInventorySlotContents in interface net.minecraft.inventory.IInventorypublic final int getInventoryStackLimit()
getInventoryStackLimit in interface net.minecraft.inventory.IInventorypublic final void openInventory(net.minecraft.entity.player.EntityPlayer player)
openInventory in interface net.minecraft.inventory.IInventorypublic final void closeInventory(net.minecraft.entity.player.EntityPlayer player)
closeInventory in interface net.minecraft.inventory.IInventorypublic java.lang.String getName()
getName in interface net.minecraft.world.IWorldNameablepublic net.minecraft.util.text.ITextComponent getDisplayName()
getDisplayName in interface net.minecraft.world.IWorldNameablepublic final boolean isUsableByPlayer(net.minecraft.entity.player.EntityPlayer player)
isUsableByPlayer in interface net.minecraft.inventory.IInventorypublic boolean hasCustomName()
hasCustomName in interface net.minecraft.world.IWorldNameablepublic final boolean isItemValidForSlot(int slotIndex,
net.minecraft.item.ItemStack itemStack)
isItemValidForSlot in interface net.minecraft.inventory.IInventorypublic int[] getSlotsForFace(net.minecraft.util.EnumFacing side)
getSlotsForFace in interface net.minecraft.inventory.ISidedInventorypublic final boolean canInsertItem(int slotIndex,
net.minecraft.item.ItemStack itemStack,
net.minecraft.util.EnumFacing side)
canInsertItem in interface net.minecraft.inventory.ISidedInventorypublic final boolean canExtractItem(int slotIndex,
net.minecraft.item.ItemStack itemStack,
net.minecraft.util.EnumFacing side)
canExtractItem in interface net.minecraft.inventory.ISidedInventorypublic int getField(int id)
getField in interface net.minecraft.inventory.IInventorypublic int getFieldCount()
getFieldCount in interface net.minecraft.inventory.IInventorypublic void setField(int id,
int value)
setField in interface net.minecraft.inventory.IInventorypublic void clear()
clear in interface net.minecraft.inventory.IInventory