Pepperoni-Jabroni / EnchantTheRainbow

Enables players to choose the enchantment glint color for their enchanted items.
GNU General Public License v3.0
2 stars 3 forks source link

Error creating mixin config enchant_the_rainbow.mixins.json for mod enchatnt_the_rainbow #2

Closed AStrong34 closed 1 year ago

AStrong34 commented 2 years ago

Uncaught exception in thread "main" java.lang.RuntimeException: Error creating Mixin config enchant_the_rainbow.mixins.json for mod enchant_the_rainbow at net.fabricmc.loader.impl.launch.FabricMixinBootstrap.init(FabricMixinBootstrap.java:90) at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:148) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:71) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) Caused by: org.spongepowered.asm.launch.MixinInitialisationError: Error initialising mixin config enchant_the_rainbow.mixins.json at org.spongepowered.asm.mixin.transformer.Config.create(Config.java:153) at org.spongepowered.asm.mixin.Mixins.createConfiguration(Mixins.java:100) at org.spongepowered.asm.mixin.Mixins.addConfiguration(Mixins.java:87) at net.fabricmc.loader.impl.launch.FabricMixinBootstrap.init(FabricMixinBootstrap.java:88) ... 3 more Caused by: java.lang.IllegalArgumentException: The requested compatibility level JAVA_17 could not be set. Level is not supported by the active JRE or ASM version (Java 16.0, ASM 9.2 (ASM10_EXPERIMENTAL)) at org.spongepowered.asm.mixin.MixinEnvironment.setCompatibilityLevel(MixinEnvironment.java:1570) at org.spongepowered.asm.mixin.transformer.MixinConfig.initCompatibilityLevel(MixinConfig.java:557) at org.spongepowered.asm.mixin.transformer.MixinConfig.postInit(MixinConfig.java:502) at org.spongepowered.asm.mixin.transformer.MixinConfig.onLoad(MixinConfig.java:430) at org.spongepowered.asm.mixin.transformer.MixinConfig.create(MixinConfig.java:1293) at org.spongepowered.asm.mixin.transformer.Config.create(Config.java:148) ... 6 more

Pepperoni-Jabroni commented 2 years ago

Are you using Java 17?