Skip to content
Merged

26.1 #2255

Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
bea673d
The Basics
AzureAaron Mar 16, 2026
b14c5e8
Uncomment & Exclude compatibility files
Alex33856 Mar 16, 2026
ea8b66d
spotlessApply
Alex33856 Mar 16, 2026
eeb988e
Room Preview fixes
Alex33856 Mar 16, 2026
a58dd55
Update Dandelion & HM API
AzureAaron Mar 17, 2026
fc542fd
Fix minor warnings
AzureAaron Mar 17, 2026
cc8831e
More gui/rendering fixes
AzureAaron Mar 17, 2026
c8e9b49
Mixin/Gui Fixes
AzureAaron Mar 17, 2026
7b2c9cb
Fix final compile error
AzureAaron Mar 17, 2026
0e23645
Merge remote-tracking branch 'origin/master' into 26.1
AzureAaron Mar 17, 2026
6196f50
Mixin Fixes
AzureAaron Mar 17, 2026
a9b2972
Flexible Item Stacks
AzureAaron Mar 17, 2026
caf7c81
Add QuickNav buttons to the inventory
AzureAaron Mar 18, 2026
a2d29fc
26.1 Quick Nav Changes (#2249)
Alex33856 Mar 18, 2026
2655f81
Mixin changes
AzureAaron Mar 18, 2026
a7cd5ad
Lambda & Unnamed variables cleanup
AzureAaron Mar 18, 2026
09e14cd
GUI/Misc rendering renames
AzureAaron Mar 18, 2026
9984b83
Remove unintended Markdown comment JavaDoc syntax
AzureAaron Mar 18, 2026
6ed7edf
Fix Dye Select Popup
Alex33856 Mar 18, 2026
8fb9a8c
Now it builds
AzureAaron Mar 19, 2026
747f3f8
Merge remote-tracking branch 'origin/master' into 26.1
AzureAaron Mar 19, 2026
92f0f40
Java 25 builds
AzureAaron Mar 19, 2026
c7717c8
Migrate to the ClassFile API
AzureAaron Mar 20, 2026
e4e6780
Uncomment Duration Controller
AzureAaron Mar 20, 2026
5b3fd99
Merge remote-tracking branch 'origin/master' into 26.1
AzureAaron Mar 20, 2026
e667843
26.1 RC 2
AzureAaron Mar 20, 2026
53c5682
Fix invalid JSON for Game Test FMJ
AzureAaron Mar 20, 2026
755f1c2
Update Test Screenshot & GH Actions versions
AzureAaron Mar 20, 2026
941b4cb
Fallback icon rendering
AzureAaron Mar 21, 2026
5746988
26.1 + Dandelion Alpha 17
AzureAaron Mar 25, 2026
c6fc085
Improved null safety
AzureAaron Mar 25, 2026
e039b41
Merge remote-tracking branch 'origin/master' into 26.1
AzureAaron Mar 25, 2026
6cc7c55
More null safety
AzureAaron Mar 25, 2026
9a0b691
Fix invalid mixin target method
AzureAaron Mar 25, 2026
377f31f
Checkstyle + Update Game Test Screenshot
AzureAaron Mar 25, 2026
0f6a34a
WorldRenderExtractionCallback -> LevelRenderExtractionCallback
AzureAaron Mar 25, 2026
cfa4def
Merge remote-tracking branch 'origin/master' into 26.1
AzureAaron Mar 25, 2026
00fda5d
Fix blurred rectangles going haywire
AzureAaron Mar 25, 2026
d8276a6
Fix Museum HUD Network Protocol Errors
AzureAaron Mar 25, 2026
58e333c
Merge remote-tracking branch 'origin/master' into 26.1
AzureAaron Mar 25, 2026
9d27fe3
Update Dandelion
AzureAaron Mar 25, 2026
224585e
Bump Fabric API version (#2267)
Alex33856 Mar 25, 2026
b8c3ba9
Update README and issue templates
AzureAaron Mar 25, 2026
15223a5
Fix parameter names
AzureAaron Mar 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 15 additions & 15 deletions .github/workflows/beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set jar name
uses: actions/github-script@v7
uses: actions/github-script@v8
if: ${{ !inputs.skip_modify_version }}
with:
result-encoding: string
Expand All @@ -63,28 +63,28 @@ jobs:
file = file.toString().split("\n").map(e => e.trim().startsWith("mod_version") ? `${e}-${buildType}-${commitSha.substring(0, 7)}` : e).join("\n");
fs.writeFileSync("./gradle.properties", file);

- name: Set up JDK 21
uses: actions/setup-java@v4
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
distribution: 'microsoft'
java-version: '21'
java-version: '25'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
uses: gradle/actions/setup-gradle@v5
- name: Build with Gradle
run: ./gradlew build

- name: Store reports
if: failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: reports
path: |
**/build/reports/
**/build/test-results/

- name: Process artifacts
uses: actions/github-script@v7
uses: actions/github-script@v8
id: fname
with:
result-encoding: string
Expand All @@ -93,7 +93,7 @@ jobs:
return fs.readdirSync("build/libs/").filter(e => !e.endsWith("dev.jar") && !e.endsWith("sources.jar") && e.endsWith(".jar"))[0].replace(".jar", "");

- name: Upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ steps.fname.outputs.result }}
path: build/libs/
Expand All @@ -103,21 +103,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
uses: actions/checkout@v6
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
distribution: 'microsoft'
java-version: '21'
java-version: '25'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
uses: gradle/actions/setup-gradle@v5

- name: Run client gametest with Xvfb
uses: modmuss50/xvfb-action@v1
with:
run: ./gradlew runClientGametest
- name: Upload test screenshots
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
if: always()
with:
name: Test Screenshots
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/buildrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,28 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
- uses: actions/checkout@v6
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
distribution: 'microsoft'
java-version: '21'
java-version: '25'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
uses: gradle/actions/setup-gradle@v5
- name: Build with Gradle
run: ./gradlew build

- name: Process artifacts
uses: actions/github-script@v7
uses: actions/github-script@v8
id: fname
with:
result-encoding: string
script: |
const fs = require("fs")
return fs.readdirSync("build/libs/").filter(e => !e.endsWith("dev.jar") && !e.endsWith("sources.jar") && e.endsWith(".jar"))[0].replace(".jar", "");

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: ${{ steps.fname.outputs.result }}
path: build/libs/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/webhook_translate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: '1.20'

- uses: actions/cache@v4
- uses: actions/cache@v5
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-pkg-mod-${{ hashFiles('go.sum') }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ bin/
# fabric

run/
.fabric/
59 changes: 32 additions & 27 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
// Building
id 'net.fabricmc.fabric-loom-remap' version "${loom_version}"
id 'net.fabricmc.fabric-loom' version "${loom_version}"
id "de.hysky.skyblocker.annotation-processor"
id "com.diffplug.spotless" version "${spotless_version}"
id "checkstyle"
Expand Down Expand Up @@ -134,45 +134,43 @@ dependencies {
// To change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"

mappings loom.officialMojangMappings()

modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
implementation "net.fabricmc:fabric-loader:${project.loader_version}"

// Loom does not always add this
implementation "ca.weblite:java-objc-bridge:1.1"

// Fabric API
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}"
implementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}"

// Dandelion (also shades in MoulConfig)
include modImplementation("net.azureaaron:dandelion:${project.dandelion_version}")
include implementation("net.azureaaron:dandelion:${project.dandelion_version}")

// YACL
include modImplementation("dev.isxander:yet-another-config-lib:${project.yacl_version}-fabric")
include implementation("dev.isxander:yet-another-config-lib:${project.yacl_version}-fabric")

// HM API (Hypixel Mod API Library)
include modImplementation("net.azureaaron:hm-api:${project.hm_api_version}")
include implementation("net.azureaaron:hm-api:${project.hm_api_version}")

// Mod Menu
modImplementation "com.terraformersmc:modmenu:${project.mod_menu_version}"
implementation "com.terraformersmc:modmenu:${project.mod_menu_version}"

// REI
modCompileOnly("me.shedaniel:RoughlyEnoughItems-api-fabric:${project.rei_version}") {
exclude group: "net.fabricmc.fabric-api" //Stop this from importing an old version of FAPI that crashes everything
}
//modRuntimeOnly "me.shedaniel:RoughlyEnoughItems-fabric:${project.rei_version}"
//compileOnly("me.shedaniel:RoughlyEnoughItems-api-fabric:${project.rei_version}") {
//exclude group: "net.fabricmc.fabric-api" //Stop this from importing an old version of FAPI that crashes everything
//}
//runtimeOnly "me.shedaniel:RoughlyEnoughItems-fabric:${project.rei_version}"

// EMI
modCompileOnly "dev.emi:emi-fabric:${project.emi_version}:api"
//modLocalRuntime "dev.emi:emi-fabric:${project.emi_version}"
//compileOnly "dev.emi:emi-fabric:${project.emi_version}:api"
//localRuntime "dev.emi:emi-fabric:${project.emi_version}"

// JEI (Using modrinth repo since official release is in mojmap and doesn't work)
modCompileOnly "maven.modrinth:jei:${project.jei_version}-fabric"
//modRuntimeOnly "maven.modrinth:jei:${project.jei_version}-fabric"
//compileOnly "maven.modrinth:jei:${project.jei_version}-fabric"
//runtimeOnly "maven.modrinth:jei:${project.jei_version}-fabric"

compileOnly "com.demonwav.mcdev:annotations:${project.mcdev_annotations_version}"

include modImplementation("meteordevelopment:discord-ipc:1.1")
include implementation("meteordevelopment:discord-ipc:1.1")

// NEU RepoParser
include implementation("moe.nea:neurepoparser:${project.repoparser_version}")
Expand All @@ -193,16 +191,12 @@ dependencies {
include implementation("org.apache.commons:commons-text:${project.commons_text_version}")

// Fabric Language Kotlin for using MoulConfig - we are still a Java-exclusive mod
modImplementation("net.fabricmc:fabric-language-kotlin:${project.flk_version}")
implementation("net.fabricmc:fabric-language-kotlin:${project.flk_version}")
}

loom {
accessWidenerPath = file("src/main/resources/skyblocker.classtweaker")

mixin {
useLegacyMixinAp = false
}

decompilers {
vineflower {
options.put(
Expand All @@ -213,6 +207,16 @@ loom {
}
}

sourceSets {
main {
java {
exclude("**/compatibility/rei/**")
exclude("**/compatibility/jei/**")
exclude("**/compatibility/emi/**")
}
}
}

fabricApi {
configureTests {
createSourceSet = true
Expand All @@ -235,12 +239,13 @@ tasks.withType(ProcessResources).configureEach {
}

tasks.withType(JavaCompile).configureEach {
it.options.release = 21
it.options.release = 25
it.options.compilerArgs << "-Xmaxerrs" << "2000"
}

java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
sourceCompatibility = JavaVersion.VERSION_25
targetCompatibility = JavaVersion.VERSION_25
}

jar {
Expand Down Expand Up @@ -343,7 +348,7 @@ def truncateChangelog = { String text, int limit ->
}

publishMods {
file = remapJar.archiveFile
file = jar.archiveFile
changelog = System.getenv('CHANGELOG_HIGHLIGHT')
version = "v${project.version}"
displayName = "Skyblocker ${mod_version} for ${minecraft_version}"
Expand Down
13 changes: 10 additions & 3 deletions buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,23 @@ repositories {
}

dependencies {
implementation "org.ow2.asm:asm:${project.asm_version}"
implementation "org.ow2.asm:asm-tree:${project.asm_version}"
implementation "org.jspecify:jspecify:${project.jspecify_version}"
}

gradlePlugin {
plugins {
simplePlugin {
id = 'de.hysky.skyblocker.annotation-processor'
// The plugin entry point could be changed to a different class that then appropriately calls the different processors when there's more than one.
implementationClass = 'de.hysky.skyblocker.Processor'
}
}
}

tasks.withType(JavaCompile).configureEach {
it.options.release = 25
}

java {
sourceCompatibility = JavaVersion.VERSION_25
targetCompatibility = JavaVersion.VERSION_25
}
2 changes: 1 addition & 1 deletion buildSrc/gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
asm_version=9.9
jspecify_version=1.0.0
14 changes: 0 additions & 14 deletions buildSrc/src/main/java/de/hysky/skyblocker/ClassReference.java

This file was deleted.

11 changes: 0 additions & 11 deletions buildSrc/src/main/java/de/hysky/skyblocker/FieldReference.java

This file was deleted.

16 changes: 0 additions & 16 deletions buildSrc/src/main/java/de/hysky/skyblocker/MethodReference.java

This file was deleted.

7 changes: 0 additions & 7 deletions buildSrc/src/main/java/de/hysky/skyblocker/Pair.java

This file was deleted.

Loading
Loading