File tree Expand file tree Collapse file tree 4 files changed +10
-11
lines changed
src/main/java/me/lucko/spark/neoforge Expand file tree Collapse file tree 4 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ configurations {
2828
2929dependencies {
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' ))
Original file line number Diff line number Diff line change 11plugins {
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
66tasks. withType(JavaCompile ) {
@@ -9,7 +9,7 @@ tasks.withType(JavaCompile) {
99}
1010
1111minecraft {
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
2222dependencies {
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
Original file line number Diff line number Diff line change 1515}
1616
1717neoForge {
18- version = " 21.9.2 -beta"
18+ version = " 21.10.10 -beta"
1919 validateAccessTransformers = true
2020
2121 runs {
Original file line number Diff line number Diff line change 2020
2121package me .lucko .spark .neoforge ;
2222
23- import cpw .mods .modlauncher .TransformingClassLoader ;
2423import me .lucko .spark .common .sampler .source .ClassSourceLookup ;
2524
2625public 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 }
You can’t perform that action at this time.
0 commit comments