Class BlockEntitySpiritFurnace.Metadata
java.lang.Object
org.cyclops.evilcraft.core.blockentity.BlockEntityWorking.Metadata
org.cyclops.evilcraft.blockentity.BlockEntitySpiritFurnace.Metadata
- Enclosing class:
- BlockEntitySpiritFurnace
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanConsume(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.Level world) Check if the given item can be infused.protected net.minecraft.world.level.block.BlockgetBlock()Methods inherited from class org.cyclops.evilcraft.core.blockentity.BlockEntityWorking.Metadata
areUpgradeSlotsValidForTier, canExtractItem, canInsertItem, getBasicInventorySize, getRequiredTierForSlot, getTier, getUpgrades, isTierUpgrade, isUpgradeSlot, isUpgradeSlotEnabled
-
Method Details
-
canConsume
public boolean canConsume(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.Level world) Description copied from class:BlockEntityWorking.MetadataCheck if the given item can be infused.- Specified by:
canConsumein classBlockEntityWorking.Metadata- Parameters:
itemStack- The item to check.world- The world.- Returns:
- If it can be infused.
-
getBlock
protected net.minecraft.world.level.block.Block getBlock()- Specified by:
getBlockin classBlockEntityWorking.Metadata
-