mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 08:27:43 +01:00
[ci skip] Update CONTRIBUTING.md
This commit is contained in:
@@ -308,7 +308,7 @@ will be replaced later.
|
|||||||
## Access Transformers
|
## Access Transformers
|
||||||
Sometimes, Vanilla code already contains a field, method, or type you want to access
|
Sometimes, Vanilla code already contains a field, method, or type you want to access
|
||||||
but the visibility is too low (e.g. a private field in an entity class). Purpur can use access transformers
|
but the visibility is too low (e.g. a private field in an entity class). Purpur can use access transformers
|
||||||
to change the visibility or remove the final modifier from fields, methods, and classes. Inside the `build-data/paper.at`
|
to change the visibility or remove the final modifier from fields, methods, and classes. Inside the `build-data/purpur.at`
|
||||||
file, you can add ATs that are applied when you `./gradlew applyPatches`. You can read about the format of ATs
|
file, you can add ATs that are applied when you `./gradlew applyPatches`. You can read about the format of ATs
|
||||||
[here](https://mcforge.readthedocs.io/en/latest/advanced/accesstransformers/#access-modifiers).
|
[here](https://mcforge.readthedocs.io/en/latest/advanced/accesstransformers/#access-modifiers).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user