Check / compile (pull_request) Successful in 7m13s
Step 2 of #8. versions/1.21.10/src is gone; 1.21.10 builds from src/ as :1.21.10, with versions/1.21.10 keeping only gradle.properties and run/. API differences go behind version comments: render layers (ShaderUtils), Camera.update's World vs BlockView (CameraMixin), the text and textured-quad render states (RenderScopeImpl), Screen.init (SplashOverlayMixin) and jspecify's @NonNull (SaturnRenderState). Features 1.21.11 leaves out stay on 1.21.10, with a TODO for 1.21.11: WorldFeatureImpl.getWorldAge, SaturnScreenFabric.resize and EntityDrawerImpl clearing the hitbox. Hats now render on 1.21.10: its HatFeatureRenderer overrode the render-queue method with an empty body, and the working code sat in an old VertexConsumerProvider method nothing called. 1.21.10 now uses 1.21.11's render-queue implementation (HatFeatureRenderer, ObjModel, ObjRenderer), and also gets 1.21.11's null check on the player's display name. The 1.21.10 jar has the same entries, fabric.mod.json and mixin configs as before; only those four classes and ShaderUtils (a helper method for entityAlpha) have different bytecode. The 1.21.11 jar only differs in ShaderUtils. Co-Authored-By: Claude Opus 5.5 <[email protected]>
44 lines
1.3 KiB
Kotlin
44 lines
1.3 KiB
Kotlin
pluginManagement {
|
|
repositories {
|
|
maven("https://maven.fabricmc.net/")
|
|
maven("https://maven.kikugie.dev/releases")
|
|
gradlePluginPortal()
|
|
mavenCentral()
|
|
}
|
|
|
|
// Loom's version, for the Stonecutter versions' build.gradle.kts (the old mc-<v> projects set
|
|
// their own in versions/<v>/gradle.properties).
|
|
val loom_version: String by settings
|
|
plugins {
|
|
id("net.fabricmc.fabric-loom-remap") version loom_version
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id("dev.kikugie.stonecutter") version "0.9.8"
|
|
}
|
|
|
|
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, Yarn and Fabric API versions.
|
|
val stonecutterVersions = listOf("1.21.10", "1.21.11")
|
|
|
|
stonecutter {
|
|
create(rootProject) {
|
|
versions(stonecutterVersions)
|
|
vcsVersion = "1.21.11"
|
|
}
|
|
}
|
|
|
|
// Versions not moved to Stonecutter yet still build from their own copy in versions/<v>/src,
|
|
// as projects named mc-<v>.
|
|
file("versions").listFiles { file -> file.isDirectory && file.name !in stonecutterVersions }!!
|
|
.sortedBy { it.name }
|
|
.forEach { dir ->
|
|
include("mc-${dir.name}")
|
|
project(":mc-${dir.name}").projectDir = dir
|
|
}
|