Package vazkii.botania.api.brew
Interface BrewContainer
- All Known Implementing Classes:
IncenseStickItem,TaintedBloodPendantItem,VialItem
public interface BrewContainer
An Item that implements this counts as a Brew Container, by which
it can be used a center item for brew recipes and can contain
a brew.
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStackgetItemForBrew(Brew brew, net.minecraft.world.item.ItemStack stack) Returs an ItemStack that should be an item that has the brew passed in.intgetManaCost(Brew brew, net.minecraft.world.item.ItemStack stack) Gets the cost to add this brew onto this container.
-
Method Details
-
getItemForBrew
net.minecraft.world.item.ItemStack getItemForBrew(Brew brew, net.minecraft.world.item.ItemStack stack) Returs an ItemStack that should be an item that has the brew passed in. -
getManaCost
Gets the cost to add this brew onto this container. Return -1 to not allow for the brew to be added. Normally you'd use brew.getManaCost(stack);
-