52417a7b92
Ports the full feature set proven by the two legacy leaves to modern, post-Flattening NeoForge (loader assumption confirmed: NeoForge 26.1.2.94 is real and published). Neoforge261ChunkAdapter reads BlockState via LevelChunk/LevelChunkSection instead of raw id+meta, carrying the full packed state id in DeltaEvent#blockStateId (a lossless int, unlike the pre-Flattening 16-bit encoding) while documenting a known truncation caveat for SectionData's char[]-based 3D backfill on very large modded registries. MCMapperMod uses constructor-injected event buses (IEventBus/ModContainer) and NeoForge.EVENT_BUS instead of @Mod.EventHandler methods, ModConfigSpec instead of legacy Configuration, and LinkCommand is a Brigadier registration (no CommandBase in this era) fired from RegisterCommandsEvent. Tracks its own loaded-chunk set via ChunkEvent.Load/Unload rather than querying chunk provider internals (no stable public API for that in modern MC). Gets its own standalone Gradle wrapper + settings.gradle (Foojay toolchain resolver) since ModDevGradle needs Gradle 8+ and a Java 25 toolchain (MC itself now requires Java 25), incompatible with the legacy leaves' Gradle-7/JDK-8 pin in one invocation. Verified against real NeoForge 26.1.2.94 + decompiled MC 26.1.2 source via ./gradlew build from inside neoforge-26_1/ (two real API mismatches caught and fixed by the compiler: ChunkPos is now a record — x()/z() methods, not fields — and ResourceLocation was renamed to Identifier, ResourceKey#identifier() not #location()).
28 lines
1.1 KiB
Properties
28 lines
1.1 KiB
Properties
org.gradle.jvmargs=-Xmx3G
|
|
org.gradle.daemon=false
|
|
|
|
# forge-1_12_2 and forge-1_7_10 (legacy ForgeGradle 1.2/2.3, see their build.gradle + this repo's
|
|
# README) need the Gradle daemon itself running on JDK 8 — newer JDKs aren't supported by that
|
|
# tooling. Point org.gradle.java.home at a JDK 8 install, either via a JAVA_HOME env var or by
|
|
# adding org.gradle.java.home=/path/to/jdk-8 to a local, untracked override (see local.properties
|
|
# in .gitignore — Gradle also honours a gradle.properties in $GRADLE_USER_HOME for this without
|
|
# touching this tracked file at all).
|
|
|
|
mod_version=0.1.0-SNAPSHOT
|
|
mod_id=mcmapper
|
|
|
|
# forge-1_7_10
|
|
minecraft_1_7_10_version=1.7.10
|
|
forge_1_7_10_version=10.13.4.1614-1.7.10
|
|
|
|
# forge-1_12_2
|
|
minecraft_1_12_2_version=1.12.2
|
|
forge_1_12_2_version=14.23.5.2847
|
|
mcp_1_12_2_mappings=stable_39
|
|
|
|
# neoforge-26_1 — loader confirmed NeoForge (Phase 10); this properties file isn't read by that
|
|
# leaf's build (it's a standalone Gradle project, see neoforge-26_1/settings.gradle), kept here
|
|
# only as a record of the pinned version alongside the other two leaves'.
|
|
minecraft_26_1_version=26.1.2
|
|
neoforge_26_1_version=26.1.2.94
|