Skip to content

Commit 1dd7b89

Browse files
committed
Update to Minecraft 1.21.10
1 parent c4a5746 commit 1dd7b89

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

spark-fabric/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ configurations {
2828

2929
dependencies {
3030
// https://modmuss50.me/fabric.html
31-
minecraft 'com.mojang:minecraft:1.21.9'
32-
mappings 'net.fabricmc:yarn:1.21.9+build.1:v2'
33-
modImplementation 'net.fabricmc:fabric-loader:0.17.2'
31+
minecraft 'com.mojang:minecraft:1.21.10'
32+
mappings 'net.fabricmc:yarn:1.21.10+build.2:v2'
33+
modImplementation 'net.fabricmc:fabric-loader:0.17.3'
3434

3535
Set<String> apiModules = [
3636
"fabric-api-base",
@@ -40,7 +40,7 @@ dependencies {
4040

4141
// Add each module as a dependency
4242
apiModules.forEach {
43-
modImplementation(fabricApi.module(it, '0.133.14+1.21.9'))
43+
modImplementation(fabricApi.module(it, '0.135.0+1.21.10'))
4444
}
4545

4646
include(modImplementation('me.lucko:fabric-permissions-api:0.5.0'))

spark-forge/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'com.gradleup.shadow' version '8.3.8'
3-
id 'net.minecraftforge.gradle' version '[6.0.24,6.2)'
3+
id 'net.minecraftforge.gradle' version '[6.0.36,6.2)'
44
}
55

66
tasks.withType(JavaCompile) {
@@ -9,7 +9,7 @@ tasks.withType(JavaCompile) {
99
}
1010

1111
minecraft {
12-
mappings channel: 'official', version: '1.21.9'
12+
mappings channel: 'official', version: '1.21.10'
1313
accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
1414
reobf = false
1515
}
@@ -20,8 +20,8 @@ configurations {
2020
}
2121

2222
dependencies {
23-
minecraft 'net.minecraftforge:forge:1.21.9-59.0.1'
24-
annotationProcessor 'net.minecraftforge:eventbus-validator:7.0-beta.10'
23+
minecraft 'net.minecraftforge:forge:1.21.10-60.0.3'
24+
annotationProcessor 'net.minecraftforge:eventbus-validator:7.0-beta.12'
2525
shade project(':spark-common')
2626
}
2727

spark-neoforge/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ java {
1515
}
1616

1717
neoForge {
18-
version = "21.9.2-beta"
18+
version = "21.10.10-beta"
1919
validateAccessTransformers = true
2020

2121
runs {

spark-neoforge/src/main/java/me/lucko/spark/neoforge/NeoForgeClassSourceLookup.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,13 @@
2020

2121
package me.lucko.spark.neoforge;
2222

23-
import cpw.mods.modlauncher.TransformingClassLoader;
2423
import me.lucko.spark.common.sampler.source.ClassSourceLookup;
2524

2625
public class NeoForgeClassSourceLookup implements ClassSourceLookup {
2726

2827
@Override
2928
public String identify(Class<?> clazz) {
30-
if (clazz.getClassLoader() instanceof TransformingClassLoader) {
29+
if (clazz.getClassLoader().getClass().getName().equals("cpw.mods.modlauncher.TransformingClassLoader")) {
3130
String name = clazz.getModule().getName();
3231
return name.equals("forge") || name.equals("minecraft") ? null : name;
3332
}

0 commit comments

Comments
 (0)