Jump to content

Recommended Posts

Posted

I am a new developer (.NET developer) and I am trying to get into minecraft modding.

I have an idea to create a mod extending from Applied Energistics but I have problems setting up the dependency / build.gradle.

 

So I am still in the setup fase but already have some problems that I cannot figure out...

org.spongepowered.asm.mixin.gen.throwables.InvalidAccessorException: No candidates were found matching func_244162_a(Ljava/lang/String;Lnet/minecraft/world/gen/feature/StructureFeature;)Lnet/minecraft/world/gen/feature/StructureFeature; in net/minecraft/world/gen/feature/structure/StructureFeatures for appliedenergistics2.mixins.json:structure.ConfiguredStructureFeaturesAccessor->@Invoker[METHOD_PROXY]::register(Ljava/lang/String;Lnet/minecraft/world/gen/feature/StructureFeature;)Lnet/minecraft/world/gen/feature/StructureFeature; [INJECT Applicator Phase -> appliedenergistics2.mixins.json:structure.ConfiguredStructureFeaturesAccessor -> Apply Accessors ->  -> Locate -> appliedenergistics2.mixins.json:structure.ConfiguredStructureFeaturesAccessor->@Invoker[METHOD_PROXY]::register(Ljava/lang/String;Lnet/minecraft/world/gen/feature/StructureFeature;)Lnet/minecraft/world/gen/feature/StructureFeature;]
	at org.spongepowered.asm.mixin.gen.InvokerInfo.findTargetMethod(InvokerInfo.java:117) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.gen.InvokerInfo.locate(InvokerInfo.java:101) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.transformer.MixinTargetContext.generateAccessors(MixinTargetContext.java:1318) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyAccessors(MixinApplicatorStandard.java:1051) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:393) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:320) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:345) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:569) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:351) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:223) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.transformer.MixinTransformationHandler.processClass(MixinTransformationHandler.java:121) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.launch.MixinLaunchPlugin.processClass(MixinLaunchPlugin.java:131) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:154) ~[modlauncher-8.0.6.jar:8.0.6+85+master.325de55] {}
	at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:85) ~[modlauncher-8.0.6.jar:?] {}
	at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:119) ~[modlauncher-8.0.6.jar:?] {}
	at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265) ~[modlauncher-8.0.6.jar:?] {}
	at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) ~[modlauncher-8.0.6.jar:?] {re:classloading}
	at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) ~[modlauncher-8.0.6.jar:?] {re:classloading}
	at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?] {}
	at net.minecraft.util.registry.WorldGenRegistries.lambda$static$3(WorldGenRegistries.java:42) ~[forge:?] {re:classloading}
	at net.minecraft.util.registry.WorldGenRegistries.lambda$static$6(WorldGenRegistries.java:107) ~[forge:?] {re:classloading}
	at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684) ~[?:?] {}
	at net.minecraft.util.registry.WorldGenRegistries.<clinit>(WorldGenRegistries.java:106) ~[forge:?] {re:classloading}
	at net.minecraft.util.registry.Registry.<clinit>(Registry.java:482) ~[forge:?] {re:classloading}
	at net.minecraft.util.registry.Bootstrap.register(Bootstrap.java:42) ~[forge:?] {re:classloading}
	at net.minecraft.client.main.Main.lambda$main$0(Main.java:123) ~[forge:?] {re:classloading,pl:runtimedistcleaner:A}
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?] {}
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] {}
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] {}
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] {}
	at java.lang.Thread.run(Thread.java:834) [?:?] {}

 

Is there somebody who can help me to get it running?

(Github gradle file: https://github.com/kevingoos/OpenWorld/blob/main/build.gradle)

build.gradle

Posted

Indeed, but I actually solved the mistake after searching for it for two days...

Stupid mistake my minecraft version and forge version where not aligned with the version of applied energistics.

 

But thx

 

Also for anybody looking for the same thing, here is the gradle file

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.