tutorial:modding_tips
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorial:modding_tips [2024/04/15 02:25] – solidblock | tutorial:modding_tips [2026/01/24 23:01] (current) – [Mixins] Rephrase parentheses elaborating upon the term "chain" (phrasing inspired by flirora and skynotthelimit on Discord) gauntrecluse | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| ===== Mixins ===== | ===== Mixins ===== | ||
| + | :!: //This segment will likely be removed from this page once it is ensured the information contained within it is detailed upon on more specialized pages.// | ||
| - | | + | 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 copied, and you should prioritize using examples as ways to better understand syntax and general principles, rather than a tutorial |
| - | * @Redirect and @ModifyConstant mixins cannot | + | Refer to relevant wikis and Discord help channels mentioned further in this section when you are in doubt or encounter |
| - | * If you're adding | + | |
| + | * When needing to reference an instance of the target class in your Mixin and pass it to a method call or constructor, you cannot | ||
| + | * '' | ||
| + | * MixinExtras, | ||
| + | |||
| + | * If you're adding custom fields or methods | ||
| + | |||
| + | To learn more on Mixins and how to use them, refer to [[tutorial: | ||
| ===== Networking ===== | ===== Networking ===== | ||
tutorial/modding_tips.1713147948.txt.gz · Last modified: 2024/04/15 02:25 by solidblock