tutorial:modding_tips
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:modding_tips [2019/09/16 16:46] – [Pitfalls] changed code to be surrounded by monospace block manxboy | tutorial:modding_tips [2020/09/14 01:49] – [Pitfalls] manxboy | ||
---|---|---|---|
Line 14: | Line 14: | ||
* To cast a class to an interface it doesn' | * To cast a class to an interface it doesn' | ||
- | * To modify a constructor, | ||
* @Redirect and @ModifyConstant mixins cannot currently be nested (applied by more than one mod in the same area at the same time). This might change later in development - however, for now, alongside @Overwrite, please avoid them if possible (or discuss bringing the hook over to Fabric' | * @Redirect and @ModifyConstant mixins cannot currently be nested (applied by more than one mod in the same area at the same time). This might change later in development - however, for now, alongside @Overwrite, please avoid them if possible (or discuss bringing the hook over to Fabric' | ||
* If you're adding custom fields or methods, especially if they' | * If you're adding custom fields or methods, especially if they' | ||
Line 24: | Line 23: | ||
===== Pitfalls ===== | ===== Pitfalls ===== | ||
- | * Avoid using the '' | + | * Avoid using the '' |
tutorial/modding_tips.txt · Last modified: 2024/04/15 02:25 by solidblock