Oreganized

Oreganized

7.8k Downloads

Fix your create dependency range

criscky opened this issue ยท 4 comments

commented

What happened?

just look how you declared here
https://github.com/TeamGalena/oreganized/blob/1.20.x/src/main/resources/META-INF/mods.toml#L41

and how you did in create
https://github.com/TeamGalena/oreganized/blob/1.20.x/src/main/resources/META-INF/mods.toml#L69

one is not like the other

also please target just a single version of create it just causes a lot of issues when create updates and the compats just dont work with updated create

Mod Version

3.1.4

Minecraft Version

1.20

Relevant log output

-- Head --
Thread: Render thread
Suspected Mods: NONE
Stacktrace:
	at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?] {}
-- MOD oreganized --
Details:
	Caused by 0: java.lang.NoClassDefFoundError: com/simibubi/create/api/registry/CreateBuiltInRegistries
		at galena.oreganized.compat.create.CreateCompat.register(CreateCompat.java:12) ~[Oreganized%201.20.1-3.1.4.jar%23681!/:3.1.4] {re:classloading}
		at galena.oreganized.Oreganized.<init>(Oreganized.java:159) ~[Oreganized%201.20.1-3.1.4.jar%23681!/:3.1.4] {re:classloading}
		at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] {}
		at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?] {}
		at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] {}
		at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?] {}
		at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?] {}
		at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:77) ~[javafmllanguage-1.20.1-47.4.0.jar%23772!/:?] {}
		at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$5(ModContainer.java:126) ~[fmlcore-1.20.1-47.4.0.jar%23771!/:?] {re:mixin}
		at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {}
		at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] {}
		at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?] {}
		at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?] {}
		at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?] {re:mixin,re:computing_frames}
		at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] {re:mixin,re:computing_frames}
		at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?] {re:mixin}

	Mod File: /C:/Users/chezb/curseforge/minecraft/Instances/Integrated MC(Violated)/mods/Oreganized 1.20.1-3.1.4.jar
	Failure message: Oreganized (oreganized) has failed to load correctly
		java.lang.NoClassDefFoundError: com/simibubi/create/api/registry/CreateBuiltInRegistries
	Mod Version: 3.1.4
	Mod Issue URL: https://github.com/TeamGalena/oreganised/issues/
	Exception message: java.lang.ClassNotFoundException: com.simibubi.create.api.registry.CreateBuiltInRegistries
commented

But I see, that I referenced the version in a weird format, I think I was thinking of how it's done on fabric, will change in the next version

commented

you need the newest version of create, any older build will not work anymore, do you have that?

commented

i know what is the issue, i'm just informing you that your format was wrong

commented

Thank you very much for the heads up