tutorial:modding_tips
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
tutorial:modding_tips [2025/09/22 12:38] – [Mixins] Add cautionary paragraph on copying examples, link extra help resources, add mention of MixinExtras tools for compatibility purposes. Emphasize importance of asking questions in help channels. gauntrecluse | tutorial:modding_tips [2025/09/22 16:23] (current) – [Mixins] Readjust some phrasing gauntrecluse | ||
---|---|---|---|
Line 12: | Line 12: | ||
===== Mixins ===== | ===== Mixins ===== | ||
- | It should be kept in mind whenever learning about Mixin in **any** capacity that any example is limited to its own situation. No example should be copied, and you should | + | It should be kept in mind whenever learning about Mixin in **any** capacity that any example is limited to its own situation. No example should be directly |
- | Refer to relevant wikis and Discord help channels mentioned further in this section when you are in doubt or encounter an issue, getting direct help and asking questions is a natural and expected part of learning Mixins and should be privileged | + | Refer to relevant wikis and Discord help channels mentioned further in this section when you are in doubt or encounter an issue, getting direct help and asking questions is a natural and expected part of learning Mixins and should be prioritized |
* To cast a class to an interface it doesn' | * To cast a class to an interface it doesn' | ||
- | * @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 and privilege | + | * @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 and prioritize |
- | * MixinExtras, | + | * MixinExtras, |
* If you're adding non-private custom fields or methods to a target class, prefix them with " | * If you're adding non-private custom fields or methods to a target class, prefix them with " |
tutorial/modding_tips.txt · Last modified: 2025/09/22 16:23 by gauntrecluse