Class VanillaBrewingRecipe
java.lang.Object
net.minecraftforge.common.brewing.VanillaBrewingRecipe
- All Implemented Interfaces:
- IBrewingRecipe
Used in BrewingRecipeRegistry to maintain the vanilla behaviour.
 Most of the code was simply adapted from net.minecraft.tileentity.TileEntityBrewingStand
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionCode copied from TileEntityBrewingStand.brewPotions() It brews the potion by doing the bit-shifting magic and then checking if the new PotionEffect list is different to the old one, or if the new potion is a splash potion when the old one wasn't.booleanisIngredient(ItemStack stack) Code adapted from TileEntityBrewingStand.isItemValidForSlot(int index, ItemStack stack)booleanCode adapted from TileEntityBrewingStand.isItemValidForSlot(int index, ItemStack stack)
- 
Constructor Details- 
VanillaBrewingRecipepublic VanillaBrewingRecipe()
 
- 
- 
Method Details- 
isInputCode adapted from TileEntityBrewingStand.isItemValidForSlot(int index, ItemStack stack)- Specified by:
- isInputin interface- IBrewingRecipe
 
- 
isIngredientCode adapted from TileEntityBrewingStand.isItemValidForSlot(int index, ItemStack stack)- Specified by:
- isIngredientin interface- IBrewingRecipe
 
- 
getOutputCode copied from TileEntityBrewingStand.brewPotions() It brews the potion by doing the bit-shifting magic and then checking if the new PotionEffect list is different to the old one, or if the new potion is a splash potion when the old one wasn't.- Specified by:
- getOutputin interface- IBrewingRecipe
 
 
-