Package net.ixdarklord.coolcatcore.mixin
Class PotionBrewingMixin.BuilderMixin
java.lang.Object
net.ixdarklord.coolcatcore.mixin.PotionBrewingMixin.BuilderMixin
- All Implemented Interfaces:
PotionBrewingBuilderExt
- Enclosing class:
PotionBrewingMixin
public static class PotionBrewingMixin.BuilderMixin
extends Object
implements PotionBrewingBuilderExt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRecipe(net.ixdarklord.coolcatcore.api.brewing.IBrewingRecipe recipe) Adds a new brewing recipe with custom logic.voidaddRecipe(net.minecraft.world.item.crafting.Ingredient input, net.minecraft.world.item.crafting.Ingredient ingredient, net.minecraft.world.item.ItemStack output) Adds a new simple brewing recipe.
-
Constructor Details
-
BuilderMixin
public BuilderMixin()
-
-
Method Details
-
addRecipe
public void addRecipe(net.minecraft.world.item.crafting.Ingredient input, net.minecraft.world.item.crafting.Ingredient ingredient, net.minecraft.world.item.ItemStack output) Description copied from interface:PotionBrewingBuilderExtAdds a new simple brewing recipe.- Specified by:
addRecipein interfacePotionBrewingBuilderExt- Parameters:
input- the ingredient that goes in the same slot as water bottles wouldingredient- the ingredient that goes in the same slot as nether wart wouldoutput- the item stack that will replace the input once brewing is done
-
addRecipe
public void addRecipe(net.ixdarklord.coolcatcore.api.brewing.IBrewingRecipe recipe) Description copied from interface:PotionBrewingBuilderExtAdds a new brewing recipe with custom logic.- Specified by:
addRecipein interfacePotionBrewingBuilderExt
-