Adds 26.2 as a Stonecutter version (#39). 26.2 splits the HUD out of Gui into Hud and moves the open screen, the overlay and the toasts from Minecraft to Gui. A new Screens helper gets and sets the screen and clears the overlay on every version, and MinecraftClientMixin opens screens through it instead of shadowing Minecraft.setScreen. SetScreenMixin targets Gui.setScreen and the HUD hook Hud.extractChat on 26.2. 26.2's rendering API declares samplers through bind group layouts and gives render targets a GpuFormat, so the glass pipeline adds SAMPLER1's layout and its backdrops are RGBA8_UNORM like vanilla's targets. The main render target is the game renderer's, the panorama no longer takes a fade flag, and toasts are added with SystemToast.add. Co-Authored-By: Claude Opus 5.5 <[email protected]>
36 lines
1.1 KiB
Kotlin
36 lines
1.1 KiB
Kotlin
pluginManagement {
|
|
repositories {
|
|
maven("https://maven.fabricmc.net/")
|
|
maven("https://maven.kikugie.dev/releases")
|
|
gradlePluginPortal()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
// Downloads the Java toolchain a version needs (Java 25 for 26.1+) when it isn't installed.
|
|
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
|
|
id("dev.kikugie.stonecutter") version "0.9.8"
|
|
// Picks the Loom variant per version: remapping for 1.21.x, plain for the unobfuscated 26.1+.
|
|
// Its version is loomx.loom_version in gradle.properties.
|
|
id("dev.kikugie.loom-back-compat") version "0.4.2"
|
|
}
|
|
|
|
rootProject.name = "saturn-client"
|
|
|
|
include("common")
|
|
|
|
// Versions built by Stonecutter from the shared src/ (see stonecutter.gradle.kts). Each one's
|
|
// versions/<v>/gradle.properties holds its Minecraft, Fabric Loader and Fabric API versions.
|
|
val stonecutterVersions = listOf(
|
|
"1.21.4", "1.21.5", "1.21.6", "1.21.7", "1.21.8", "1.21.9", "1.21.10", "1.21.11",
|
|
"26.1", "26.2",
|
|
)
|
|
|
|
stonecutter {
|
|
create(rootProject) {
|
|
versions(stonecutterVersions)
|
|
vcsVersion = "1.21.11"
|
|
}
|
|
}
|