Commit 63d60a4 1 parent 8d46ba0 commit 63d60a4 Copy full SHA for 63d60a4
File tree 4 files changed +10
-9
lines changed
src/main/java/net/bettercombat/fabric
4 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ if(project.hasProperty('release_type')) {
97
97
changelogType = ' markdown'
98
98
releaseType = release_type
99
99
addGameVersion " ${ rootProject.minecraft_version} "
100
+ addGameVersion " 1.21"
100
101
addGameVersion " Fabric"
101
102
102
103
relations {
@@ -123,7 +124,7 @@ if(project.hasProperty('release_type')) {
123
124
versionNumber = " ${ project.version} -fabric" // You don't need to set this manually. Will fail if Modrinth has this version already
124
125
versionType = release_type // This is the default -- can also be `beta` or `alpha`
125
126
uploadFile = remapJar // With Loom, this MUST be set to `remapJar` instead of `jar`!
126
- gameVersions = [" ${ rootProject.minecraft_version} " ] // Must be an array, even with only one version
127
+ gameVersions = [" ${ rootProject.minecraft_version} " , " 1.21 " ] // Must be an array, even with only one version
127
128
loaders = [" fabric" ] // Must also be an array - no need to specify this if you're using Loom or ForgeGradle
128
129
dependencies { // A special DSL for creating dependencies
129
130
// scope.type
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public class FabricMod implements ModInitializer {
11
11
public void onInitialize () {
12
12
BetterCombatMod .init ();
13
13
14
- ServerLifecycleEvents .SERVER_STARTED .register ((minecraftServer ) -> {
14
+ ServerLifecycleEvents .SERVER_STARTING .register ((minecraftServer ) -> {
15
15
BetterCombatMod .loadWeaponAttributes (minecraftServer );
16
16
});
17
17
Original file line number Diff line number Diff line change 1
1
# Done to increase the memory available to Gradle.
2
2
org.gradle.jvmargs =-Xmx2G
3
- org.gradle.parallel =true
4
3
5
4
# Mod properties
6
5
mod_version = 2.0.0
@@ -9,13 +8,13 @@ archives_name = bettercombat
9
8
enabled_platforms = fabric,neoforge
10
9
11
10
# Minecraft properties
12
- minecraft_version = 1.21
13
- yarn_mappings = 1.21+build.1
11
+ minecraft_version = 1.21.1
12
+ yarn_mappings = 1.21.1 +build.3
14
13
15
14
# Dependencies
16
- fabric_loader_version = 0.16.2
17
- fabric_api_version = 0.102 .0+1.21
18
- neoforge_version = 21.0.110-beta
15
+ fabric_loader_version = 0.16.3
16
+ fabric_api_version = 0.103 .0+1.21.1
17
+ neoforge_version = 21.1.1
19
18
yarn_mappings_patch_neoforge_version = 1.21+build.4
20
19
21
20
mixin_extras_version =0.4.0
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ if(project.hasProperty('release_type')) {
88
88
changelogType = ' markdown'
89
89
releaseType = release_type
90
90
addGameVersion " ${ rootProject.minecraft_version} "
91
+ addGameVersion " 1.21"
91
92
addGameVersion " NeoForge"
92
93
93
94
relations {
@@ -113,7 +114,7 @@ if(project.hasProperty('release_type')) {
113
114
versionNumber = " ${ project.version} -neoforge" // You don't need to set this manually. Will fail if Modrinth has this version already
114
115
versionType = release_type // This is the default -- can also be `beta` or `alpha`
115
116
uploadFile = remapJar // With Loom, this MUST be set to `remapJar` instead of `jar`!
116
- gameVersions = [" ${ rootProject.minecraft_version} " ] // Must be an array, even with only one version
117
+ gameVersions = [" ${ rootProject.minecraft_version} " , " 1.21 " ] // Must be an array, even with only one version
117
118
loaders = [" neoforge" ] // Must also be an array - no need to specify this if you're using Loom or ForgeGradle
118
119
dependencies { // A special DSL for creating dependencies
119
120
// scope.type
You can’t perform that action at this time.
0 commit comments