Skip to content

Commit a29bf5b

Browse files
authoredJun 22, 2024··
Update to 1.21 (#27)
* bump versions and change attributes to registry entries * fix default attributes i hope * fix scaling attribute modifier codec * fix more attribute related errors * remove item attribute modifiers for now; fix resource conditions * fix loot condition codec types * fix macro replace * fix status effect temp effect to use registry entry * update to cca 6 * singularize temp effect datapack location * fix testmod datapack * clean up some stuff * thermooseasons rename to thermooseason and fix javadoc * add max temp to testmod * use tristate for can apply change event * add default temp settings for other units * fix listener in testmod * move tags to singular named file * simplify damage source pool read calculation * validate temp effect damage type * optimize imports * remove alpha ver
1 parent c996831 commit a29bf5b

File tree

64 files changed

+275
-510
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+275
-510
lines changed
 

‎.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
matrix:
1313
# Use these Java versions
1414
java: [
15-
17, # Current Java LTS & minimum supported by Minecraft
15+
21, # Current Java LTS
1616
]
1717
# and run on both Linux and Windows
1818
os: [ubuntu-22.04, windows-2022]

‎build.gradle

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
plugins {
2-
id 'fabric-loom' version '1.6-SNAPSHOT'
2+
id 'fabric-loom' version '1.7-SNAPSHOT'
33
id 'maven-publish'
44
}
55

6-
sourceCompatibility = JavaVersion.VERSION_17
7-
targetCompatibility = JavaVersion.VERSION_17
6+
sourceCompatibility = JavaVersion.VERSION_21
7+
targetCompatibility = JavaVersion.VERSION_21
88

99
archivesBaseName = project.archives_base_name
1010
version = project.mod_version
@@ -121,8 +121,8 @@ loom {
121121
}
122122

123123
tasks.withType(JavaCompile).configureEach {
124-
// Minecraft 1.18 (1.18-pre2) upwards uses Java 17.
125-
it.options.release = 17
124+
// Minecraft 1.20.5 upwards uses Java 21.
125+
it.options.release = 21
126126
}
127127

128128
java {

0 commit comments

Comments
 (0)
Please sign in to comment.