Skip to content

Commit a0fa9f6

Browse files
committed
build: 1.21.6-pre4
1 parent 835ef64 commit a0fa9f6

File tree

4 files changed

+24
-16
lines changed

4 files changed

+24
-16
lines changed

current-upstream

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
tag-500aa212376459b9ef71a760501ef6fde16bccd1
1+
tag-317717f67e03cad45edb85f78bca3464aa385038

patches/main/0002-Port-to-NeoForge.patch

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Subject: [PATCH] Port to NeoForge
55

66

77
diff --git a/build.gradle b/build.gradle
8-
index 22e31b9..a9fa0e4 100644
8+
index 22e31b9..710d09e 100644
99
--- a/build.gradle
1010
+++ b/build.gradle
1111
@@ -1,5 +1,5 @@
@@ -15,7 +15,7 @@ index 22e31b9..a9fa0e4 100644
1515
id 'maven-publish'
1616
id 'com.github.johnrengelman.shadow' version '8.1.1'
1717
}
18-
@@ -28,15 +28,19 @@ def getGitCommit = { ->
18+
@@ -28,15 +28,27 @@ def getGitCommit = { ->
1919
}
2020

2121
archivesBaseName = project.archives_base_name
@@ -25,6 +25,14 @@ index 22e31b9..a9fa0e4 100644
2525

2626
+repositories {
2727
+ maven { url "https://maven.neoforged.net/releases/" }
28+
+ maven {
29+
+ name = 'Maven for PR #2297' // https://github.com/neoforged/NeoForge/pull/2297
30+
+ url = 'https://prmaven.neoforged.net/NeoForge/pr2297'
31+
+ content {
32+
+ includeModule('net.neoforged', 'neoforge')
33+
+ includeModule('net.neoforged', 'testframework')
34+
+ }
35+
+ }
2836
+}
2937
+
3038
dependencies {
@@ -37,7 +45,7 @@ index 22e31b9..a9fa0e4 100644
3745

3846
// Fabric API. This is technically optional, but you probably want it anyway.
3947
//modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
40-
@@ -47,14 +51,14 @@ dependencies {
48+
@@ -47,14 +59,14 @@ dependencies {
4149
shadowInclude("com.ishland.flowsched:flowsched") {
4250
transitive false
4351
}
@@ -55,7 +63,7 @@ index 22e31b9..a9fa0e4 100644
5563
}
5664
}
5765

58-
@@ -78,8 +82,8 @@ java {
66+
@@ -78,8 +90,8 @@ java {
5967
// If you remove this line, sources will not be generated.
6068
withSourcesJar()
6169

@@ -66,7 +74,7 @@ index 22e31b9..a9fa0e4 100644
6674
}
6775
jar {
6876
from "LICENSE"
69-
@@ -96,6 +100,7 @@ remapJar {
77+
@@ -96,6 +108,7 @@ remapJar {
7078
input = shadowJar.archiveFile
7179
archiveFileName = shadowJar.archiveFileName.get().replaceAll("-dev\\.jar\$", ".jar")
7280
addNestedDependencies = true
@@ -75,7 +83,7 @@ index 22e31b9..a9fa0e4 100644
7583
}
7684

7785
diff --git a/gradle.properties b/gradle.properties
78-
index 090de06..b594779 100644
86+
index d9ac978..5864c4e 100644
7987
--- a/gradle.properties
8088
+++ b/gradle.properties
8189
@@ -1,10 +1,11 @@
@@ -85,12 +93,12 @@ index 090de06..b594779 100644
8593
+loom.platform=neoforge
8694
# Fabric Properties
8795
# check these on https://modmuss50.me/fabric.html
88-
-minecraft_version=1.21.5-rc2
89-
-loader_version=0.16.10
90-
+minecraft_version=1.21.5
91-
+forge_version=21.5.14-beta
96+
-minecraft_version=1.21.6-rc1
97+
-loader_version=0.16.14
98+
+minecraft_version=1.21.6-pre4
99+
+forge_version=21.5.0-alpha.1.21.6-pre4.20250611.162051
92100
# Mod Properties
93-
mod_version=0.1.3+beta.1
101+
mod_version=0.1.4
94102
maven_group=ca.spottedleaf.starlight
95103
diff --git a/settings.gradle b/settings.gradle
96104
index 72ebf6e..a2bc74d 100644
@@ -137,7 +145,7 @@ index 8594799..0ec28f9 100644
137145
+
138146
}
139147
diff --git a/src/main/java/ca/spottedleaf/starlight/common/config/Config.java b/src/main/java/ca/spottedleaf/starlight/common/config/Config.java
140-
index ae29dcf..8889a18 100644
148+
index 6397f4d..61c0489 100644
141149
--- a/src/main/java/ca/spottedleaf/starlight/common/config/Config.java
142150
+++ b/src/main/java/ca/spottedleaf/starlight/common/config/Config.java
143151
@@ -1,9 +1,7 @@
@@ -160,7 +168,7 @@ index ae29dcf..8889a18 100644
160168
if (Files.isRegularFile(path)) {
161169
try (InputStream in = Files.newInputStream(path, StandardOpenOption.CREATE)) {
162170
properties.load(in);
163-
@@ -69,26 +67,26 @@ public class Config {
171+
@@ -73,26 +71,26 @@ public class Config {
164172

165173
private static boolean getBoolean(Properties properties, Properties newProperties, String key, boolean def) {
166174
boolean boolean0 = getBoolean0(properties, newProperties, key, def);

scripts/init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ basedir=$(pwd -P)
88
cd - || exit
99

1010
upstreamDir="ScalableLux"
11-
upstreamBranch="ver/1.21.5"
11+
upstreamBranch="ver/1.21.6"
1212

1313
function bashColor() {
1414
if [ "$2" ]; then

0 commit comments

Comments
 (0)