Canary

Canary

6M Downloads

Weird error with Minecolonies...

Pineappleguy03 opened this issue ยท 1 comments

commented

Canary 0.0.8

Weird error with Minecolonies...
All it says is.

Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:39)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:106)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:32)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
... 7 more
Caused by: java.lang.IllegalAccessError: class com.abdelaziz.canary.common.shapes.VoxelShapeSimpleCube tried to access method 'void net.minecraft.world.phys.shapes.VoxelShape.(net.minecraft.world.phys.shapes.DiscreteVoxelShape)' (com.abdelaziz.canary.common.shapes.VoxelShapeSimpleCube is in module [email protected] of loader 'TRANSFORMER' @5b7aa898; net.minecraft.world.phys.shapes.VoxelShape is in module [email protected] of loader 'TRANSFORMER' @5b7aa898)
at TRANSFORMER/[email protected]/com.abdelaziz.canary.common.shapes.VoxelShapeSimpleCube.(VoxelShapeSimpleCube.java:31)
at TRANSFORMER/[email protected]/net.minecraft.world.phys.shapes.Shapes.m_166049_(Shapes.java:1601)
at TRANSFORMER/[email protected]/net.minecraft.world.phys.shapes.Shapes.m_83048_(Shapes.java:50)
at TRANSFORMER/[email protected]/net.minecraft.world.phys.shapes.Shapes.(Shapes.java:26)
at TRANSFORMER/[email protected]/net.minecraft.world.level.block.Block.m_49796_(Block.java:138)
at TRANSFORMER/[email protected]/net.minecraft.world.level.block.SaplingBlock.(SaplingBlock.java:20)
at TRANSFORMER/[email protected]/net.minecraft.world.level.block.Blocks.(Blocks.java:59)
at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.carver.CarverDebugSettings.(CarverDebugSettings.java:9)
at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.carver.CarverConfiguration.m_190634_(CarverConfiguration.java:16)
at MC-BOOTSTRAP/[email protected]/com.mojang.serialization.codecs.RecordCodecBuilder.mapCodec(RecordCodecBuilder.java:76)
at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.carver.CarverConfiguration.(CarverConfiguration.java:12)
at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.carver.WorldCarver.(WorldCarver.java:30)
at TRANSFORMER/[email protected]/net.minecraft.data.worldgen.Carvers.(Carvers.java:19)
at TRANSFORMER/[email protected]/net.minecraft.data.BuiltinRegistries.m_206400_(BuiltinRegistries.java:45)
at TRANSFORMER/[email protected]/net.minecraft.data.BuiltinRegistries.m_206392_(BuiltinRegistries.java:101)
at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:721)
at TRANSFORMER/[email protected]/net.minecraft.data.BuiltinRegistries.(BuiltinRegistries.java:100)
at TRANSFORMER/[email protected]/net.minecraft.core.Registry.(Registry.java:633)
at TRANSFORMER/[email protected]/net.minecraft.server.Bootstrap.m_135870_(Bootstrap.java:44)
at TRANSFORMER/[email protected]/net.minecraft.server.Main.main(Main.java:109)

Nothing in logs.

commented

duplicate of #13, #14, #22.
This issue happens only when you forgot adding a mod dependency, so make sure you have all the dependencies for Minecolonies mod is installed.