Skip to content

Commit d897ee8

Browse files
committed
Port to 1.21.1
1 parent 854196c commit d897ee8

31 files changed

+144
-121
lines changed

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ plugins {
44
id 'java'
55
id 'maven-publish'
66
id 'signing'
7-
id 'net.neoforged.gradle.userdev' version '7.0.97'
7+
id 'net.neoforged.gradle.userdev' version '7.0.165'
88
}
99

1010
java {
1111
toolchain {
12-
languageVersion = JavaLanguageVersion.of(17)
12+
languageVersion = JavaLanguageVersion.of(21)
1313
}
1414
withSourcesJar()
1515
withJavadocJar()
@@ -40,7 +40,7 @@ runs {
4040
}
4141
data {
4242
workingDirectory file('run')
43-
programArguments.addAll '--mod', 'chickenchunks', '--all', '--output', file("src/main/generated"), '--existing', file("src/main/resources")
43+
arguments.addAll '--mod', 'chickenchunks', '--all', '--output', file("src/main/generated").absolutePath, '--existing', file("src/main/resources").absolutePath
4444
}
4545
}
4646

@@ -59,7 +59,7 @@ processResources {
5959
inputs.property 'mc_version', mc_version
6060
inputs.property 'ccl_version', ccl_version
6161

62-
filesMatching('META-INF/mods.toml') {
62+
filesMatching('META-INF/neoforge.mods.toml') {
6363
expand 'file': ['jarVersion': mod_version],
6464
'mc_version': mc_version,
6565
'forge_version': forge_version,

gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
mc_version=1.20.4
2-
forge_version=20.4.237
3-
ccl_version=4.5.0.+
1+
mc_version=1.21.1
2+
forge_version=21.1.72
3+
ccl_version=4.6.0.+
44
ccl_version_max=5.0.0
5-
mod_version=2.11.0
5+
mod_version=2.12.0

gradle/wrapper/gradle-wrapper.jar

121 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717
#
18+
# SPDX-License-Identifier: Apache-2.0
19+
#
1820

1921
##############################################################################
2022
#
@@ -55,7 +57,7 @@
5557
# Darwin, MinGW, and NonStop.
5658
#
5759
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
60+
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5961
# within the Gradle project.
6062
#
6163
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -84,7 +86,8 @@ done
8486
# shellcheck disable=SC2034
8587
APP_BASE_NAME=${0##*/}
8688
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87-
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90+
' "$PWD" ) || exit
8891

8992
# Use the maximum available, or set MAX_FD != -1 to use that value.
9093
MAX_FD=maximum

gradlew.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
@rem See the License for the specific language governing permissions and
1414
@rem limitations under the License.
1515
@rem
16+
@rem SPDX-License-Identifier: Apache-2.0
17+
@rem
1618

1719
@if "%DEBUG%"=="" @echo off
1820
@rem ##########################################################################
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
// 1.20.4 2024-09-16T23:06:57.079605247 Loot Tables
2-
be448cbe0592e10c135784c67e12d5d500a3bdf9 data/chickenchunks/loot_tables/blocks/chunk_loader.json
3-
0c2b040b41a4376e3acac56f2b1a70ee72e66ee1 data/chickenchunks/loot_tables/blocks/spot_loader.json
1+
// 1.21.1 2024-10-29T17:38:31.743587148 Loot Tables
2+
be448cbe0592e10c135784c67e12d5d500a3bdf9 data/chickenchunks/loot_table/blocks/chunk_loader.json
3+
0c2b040b41a4376e3acac56f2b1a70ee72e66ee1 data/chickenchunks/loot_table/blocks/spot_loader.json
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
// 1.20.4 2024-09-16T23:01:05.469873921 Tags for minecraft:block mod id chickenchunks
2-
2d9f11d46a1c0686fd002e9b3538a730a463089c data/minecraft/tags/blocks/mineable/pickaxe.json
1+
// 1.21.1 2024-10-29T17:38:31.743986012 Tags for minecraft:block mod id chickenchunks
2+
2d9f11d46a1c0686fd002e9b3538a730a463089c data/minecraft/tags/block/mineable/pickaxe.json
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
// 1.20.4 2024-09-16T23:01:05.469722559 chickenchunks Item models.
1+
// 1.21.1 2024-10-29T17:38:31.743861491 chickenchunks Item models.
22
5a01bad7c94dd100e930ef46c581f91dab435216 assets/chickenchunks/models/item/chunk_loader.json
33
005b69c42e46cb5f76bf561ed78163ba8c5fafff assets/chickenchunks/models/item/spot_loader.json
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
// 1.20.4 2024-09-16T23:01:05.46861763 chickenchunks Recipes.
2-
c282158c611b4b88c059ea77287d3ff6b1a890a6 data/chickenchunks/recipes/chunk_loader.json
3-
513ef64e02d9c8d80417db1b0fac7875db480c46 data/chickenchunks/recipes/spot_loader.json
1+
// 1.21.1 2024-10-29T17:38:31.743186525 chickenchunks Recipes.
2+
0583a949165f582a185960787cd4f21fb73ee9ff data/chickenchunks/recipe/chunk_loader.json
3+
fb53a274c9d5440d934be20616a6b617e503bb17 data/chickenchunks/recipe/spot_loader.json

0 commit comments

Comments
 (0)