public static class TileSanguinaryEnvironmentalAccumulator.Metadata extends TileWorking.Metadata
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConsume(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world)
Check if the given item can be infused.
|
boolean |
canInsertItem(net.minecraft.inventory.IInventory inventory,
int slot,
net.minecraft.item.ItemStack itemStack)
Check if the given item can be inserted.
|
protected net.minecraft.block.Block |
getBlock() |
int |
getConsumeSlot()
Get the id of the accumulate slot.
|
int |
getProduceSlot()
Get the id of the result slot.
|
areUpgradeSlotsValidForTier, canExtractItem, getBasicInventorySize, getRequiredTierForSlot, getTier, getUpgrades, isTierUpgrade, isUpgradeSlot, isUpgradeSlotEnabledpublic boolean canInsertItem(net.minecraft.inventory.IInventory inventory,
int slot,
net.minecraft.item.ItemStack itemStack)
TileWorking.MetadatacanInsertItem in class TileWorking.Metadatainventory - The tile inventory.slot - The slot id.itemStack - The item that is being inserted.public boolean canConsume(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world)
TileWorking.MetadatacanConsume in class TileWorking.MetadataitemStack - The item to check.world - The world.protected net.minecraft.block.Block getBlock()
getBlock in class TileWorking.Metadatapublic int getConsumeSlot()
public int getProduceSlot()