tutorial:potions
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| tutorial:potions [2023/06/17 19:37] – Actually made this a functioning page pandoricavi | tutorial:potions [2023/09/10 07:08] (current) – [Introduction] drakonkinst | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| === The BrewingRecipeRegistryMixin === | === The BrewingRecipeRegistryMixin === | ||
| - | This is a mixin you will need to add to your mod in order for your custom potion recipes to register correctly. | + | As of 1.20.1, Fabric API makes the methods for registering custom brewing recipes public. Therefore you can call `BrewingRecipeRegistry.registerPotionRecipe` directly, and do not need this mixin. |
| + | |||
| + | For older versions, this is a mixin you will need to add to your mod in order for your custom potion recipes to register correctly. | ||
| <code java [enable_line_numbers=" | <code java [enable_line_numbers=" | ||
tutorial/potions.1687030627.txt.gz · Last modified: 2023/06/17 19:37 by pandoricavi