Skip to content

Commit 2b2eeda

Browse files
authored
Make sure to note porting access wideners (FabricMC#566)
* Make sure to note porting access wideners * Update index.md * Update index.md * Update develop/porting/index.md
1 parent 7bb37aa commit 2b2eeda

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

develop/porting/index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ Start by updating your mod's `gradle/wrapper/gradle-wrapper.properties`, `gradle
3636
5. Replace any instances of `modImplementation` or `modCompileOnly` with `implementation` and `compileOnly`.
3737
6. Remove or replace any mods made for versions before 26.1 with versions compatible with this update.
3838
- No existing mods for 1.21.11 or older versions of Minecraft will work on 26.1, even as a compile-only dependency.
39-
7. Set Java compatibility to 25 instead of 21.
40-
8. Replace any mentions of `remapJar` with `jar`.
41-
9. Refresh Gradle by using the refresh button in the top-right corner of IntelliJ IDEA. If this button is not visible, you can force caches to be cleared by running `./gradlew --refresh-dependencies`.
39+
7. If needed, update the header of your [access widener or class tweaker](../class-tweakers/) to replace `named` with `official`.
40+
8. Set Java compatibility to 25 instead of 21.
41+
9. Replace any mentions of `remapJar` with `jar`.
42+
10. Refresh Gradle by using the refresh button in the top-right corner of IntelliJ IDEA. If this button is not visible, you can force caches to be cleared by running `./gradlew --refresh-dependencies`.
4243

4344
## Updating the Code {#porting-guides}
4445

0 commit comments

Comments
 (0)