### Update NeoForge Version Source: https://docs.neoforged.net/primer/docs/26.1/neo Update the NeoForge version property in the gradle.properties file. ```properties - neoforge_version=21.1.113 + neoforge_version=26.1.0.1-beta ``` -------------------------------- ### Remove Parchment Configuration Source: https://docs.neoforged.net/primer/docs/26.1/neo Remove Parchment mapping configuration lines from gradle.properties as Mojang parameter names are now available. ```properties - neoForge.parchment.minecraftVersion=1.21 - neoForge.parchment.mappingsVersion=2024.07.28 ``` -------------------------------- ### Update ChunkPos construction and conversion Source: https://docs.neoforged.net/primer/docs/26.1/neo Use these updated static methods for converting between BlockPos, ChunkPos, and packed long representations. ```java // BlockPos -> ChunkPos - new ChunkPos(blockPos) + ChunkPos.containing(blockPos) // ChunkPos or x,z -> long - ChunkPos.asLong(blockPos) + ChunkPos.pack(blockPos) // long -> ChunkPos - new ChunkPos(packedLong) + ChunkPos.unpack(packedLong) ``` -------------------------------- ### Update Java Toolchain Version Source: https://docs.neoforged.net/primer/docs/26.1/neo Update the Java language version in the Gradle build configuration to 25. ```groovy java { toolchain { - languageVersion = JavaLanguageVersion.of(21) + languageVersion = JavaLanguageVersion.of(25) } } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.