tutorial:accesswideners
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorial:accesswideners [2023/02/01 17:59] – modmuss50 | tutorial:accesswideners [2024/06/09 05:33] (current) – Add comparison to accessor mixins haykam | ||
---|---|---|---|
Line 8: | Line 8: | ||
* If you want to subclass a class with only (package) private constructors, | * If you want to subclass a class with only (package) private constructors, | ||
- | In order for access widener changes to show up in the decompiled source, run the '' | + | In order for access widener changes to show up in the decompiled source, run the '' |
+ | |||
+ | Note: Unlike accessor mixins, access wideners do not work for source of mods. | ||
===== Requirements ===== | ===== Requirements ===== | ||
Line 20: | Line 22: | ||
<code [enable_line_numbers=" | <code [enable_line_numbers=" | ||
- | accessWidener v1 < | + | accessWidener |
</ | </ | ||
Line 138: | Line 140: | ||
The error messages can be a little cryptic. For example, if you make a mistake in specifying a field, the error doesn' | The error messages can be a little cryptic. For example, if you make a mistake in specifying a field, the error doesn' | ||
+ | |||
+ | ===== V2 changes ===== | ||
+ | |||
+ | With the v2 version, the '' | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | They differ from their regular, non-prefixed variants in that they also apply to mods that depend on this one. | ||
+ | |||
+ | |||
+ |
tutorial/accesswideners.1675274358.txt.gz · Last modified: 2023/02/01 17:59 by modmuss50