public class VanillaBrewingRecipe extends java.lang.Object implements IBrewingRecipe
コンストラクタと説明 |
---|
VanillaBrewingRecipe() |
修飾子とタイプ | メソッドと説明 |
---|---|
ItemStack |
getOutput(ItemStack input,
ItemStack ingredient)
Code 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.
|
boolean |
isIngredient(ItemStack stack)
Code adapted from TileEntityBrewingStand.isItemValidForSlot(int index, ItemStack stack)
|
boolean |
isInput(ItemStack stack)
Code adapted from TileEntityBrewingStand.isItemValidForSlot(int index, ItemStack stack)
|
public boolean isInput(ItemStack stack)
isInput
インタフェース内 IBrewingRecipe
public boolean isIngredient(ItemStack stack)
isIngredient
インタフェース内 IBrewingRecipe
public ItemStack getOutput(ItemStack input, ItemStack ingredient)
getOutput
インタフェース内 IBrewingRecipe