类 PotionBrewing
java.lang.Object
net.minecraft.world.item.alchemy.PotionBrewing
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明static final int
private final List
<PotionBrewing.Mix<Item>> private final List
<Ingredient> static final PotionBrewing
private final List
<PotionBrewing.Mix<Potion>> private final List
<IBrewingRecipe> -
构造器概要
构造器构造器说明PotionBrewing
(List<Ingredient> p_331253_, List<PotionBrewing.Mix<Potion>> p_333814_, List<PotionBrewing.Mix<Item>> p_332419_) PotionBrewing
(List<Ingredient> p_331253_, List<PotionBrewing.Mix<Potion>> p_333814_, List<PotionBrewing.Mix<Item>> p_332419_, PotionBrewing.Builder builder) -
方法概要
修饰符和类型方法说明static void
addVanillaMixes
(PotionBrewing.Builder p_332525_) static PotionBrewing
bootstrap
(FeatureFlagSet p_329176_) Returns an unmodifiable list containing all the recipes in the registryboolean
hasContainerMix
(ItemStack p_43520_, ItemStack p_43521_) 已过时。Forge: use hasMix(ItemStack, ItemStack)boolean
boolean
hasPotionMix
(ItemStack p_43525_, ItemStack p_43526_) 已过时。Forge: use hasMix(ItemStack, ItemStack)boolean
isBrewablePotion
(Holder<Potion> p_330984_) private boolean
isContainer
(ItemStack p_328293_) boolean
isContainerIngredient
(ItemStack p_43518_) boolean
isIngredient
(ItemStack p_43507_) boolean
isPotionIngredient
(ItemStack p_43523_) boolean
isValidInput
(ItemStack stack) Returns true if the passed ItemStack is a valid input for the start of a recipeprivate ItemStack
mixVanilla
(ItemStack p_43530_, ItemStack p_43531_)
-
字段详细资料
-
BREWING_TIME_SECONDS
public static final int BREWING_TIME_SECONDS- 另请参阅:
-
EMPTY
-
containers
-
potionMixes
-
containerMixes
-
recipes
-
-
构造器详细资料
-
PotionBrewing
PotionBrewing(List<Ingredient> p_331253_, List<PotionBrewing.Mix<Potion>> p_333814_, List<PotionBrewing.Mix<Item>> p_332419_) -
PotionBrewing
PotionBrewing(List<Ingredient> p_331253_, List<PotionBrewing.Mix<Potion>> p_333814_, List<PotionBrewing.Mix<Item>> p_332419_, PotionBrewing.Builder builder)
-
-
方法详细资料
-
isIngredient
-
isContainer
-
isContainerIngredient
-
isPotionIngredient
-
isBrewablePotion
-
hasMix
-
hasContainerMix
已过时。Forge: use hasMix(ItemStack, ItemStack) -
hasPotionMix
已过时。Forge: use hasMix(ItemStack, ItemStack) -
mix
-
mixVanilla
-
isValidInput
Returns true if the passed ItemStack is a valid input for the start of a recipe -
getRecipes
Returns an unmodifiable list containing all the recipes in the registry -
bootstrap
-
addVanillaMixes
-