Enderio: Crash when loading user recipes: CapacitorKey enderio:block_machine_base/no_power has not been configured.

Created on 26 Jun 2018  路  31Comments  路  Source: SleepyTrousers/EnderIO

What happens:

game crsahes

What you expected to happen:

for it to run

Steps to reproduce:

  1. run eio with these recipes: recipes
  2. perhaps add a mod that is causing the issue
  3. crashes
    ...

Affected Versions (Do not use "latest"):

  • EnderIO: 5.0.26
  • EnderCore: 2.4.3.131
  • Minecraft: 1.12.2
  • Forge: 2712

Your most recent log file where the issue was present:

crash report here

1.12 Bug Mod integration Code Complete

Most helpful comment

in that case, core recipes does NOT need to be false to load user recipes.

All 31 comments

Duplicate #4711

Have you disabled the config setting loadCoreRecipes?

Having the same problem, even after setting:
B:loadCoreRecipes=false
Log:

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Ender IO (enderio)
Caused by: java.lang.RuntimeException: CapacitorKey enderio:block_machine_base/no_power has not been configured. This should not be possible and may be caused by a 3rd-party addon mod.
at crazypants.enderio.base.capacitor.CapacitorKey.validate(CapacitorKey.java:84)
at crazypants.enderio.base.capacitor.CapacitorKeyRegistry.validate(CapacitorKeyRegistry.java:43)
at crazypants.enderio.base.EnderIO.onImc(EnderIO.java:153)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:627)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:218)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:196)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:319)
at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:747)
at net.minecraftforge.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:107)
at net.minecraftforge.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:337)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:219)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)
at java.lang.Thread.run(Thread.java:748)

Load core recipes False is what's causing this.

I had it set to defualt (true) and it was giving me other problems...

== ENDER IO FATAL ERROR ==
Cannot register recipes as configured. This means that either
your custom config file has an error or another mod does bad
things to vanilla items or the Ore Dictionary.
== Bad file ==
recipes/conduits-applied-energistics.xml
== Error Message ==
Could not find a crafting ingredient for 'crystalPureFluix in 'Conduit, ME Conduit (Pure)'
Note: To start the game anyway, you can disable recipe loading in the
Ender IO config file. However, then all of Ender IO's crafting recipes
will be missing.

I think I may have figured out the issue...

I opened the recipes/conduits-applied-energistics.xml file and noticed that "Conduit, ME Conduit (Pure)" uses two "crystalPureFluix" items in crafting. However, I couldn't find that in the AE2 "items.csv" file. I did see that "Pure Fluix Crystal" is listed as "appliedenergistics2:material:12" -- I think I can replace "crystalPureFluix" with "appliedenergistics2:material:12" (by adding the following to "user_recipies.xml") and it should fix the issue.

<recipe name="Conduit, ME Conduit (Pure)" required="true">
    <crafting>
      <grid>
        <item name="CONDUIT_BINDER" /><item name="CONDUIT_BINDER" /><item name="CONDUIT_BINDER" />
        <item name="appliedenergistics2:material:12" /><item name="appliedenergistics2:part:140" /><item name="appliedenergistics2:material:12" />
        <item name="CONDUIT_BINDER" /><item name="CONDUIT_BINDER" /><item name="CONDUIT_BINDER" />
      </grid>
      <output name="enderio:item_me_conduit:0" amount="8">
      </output>
    </crafting>
  </recipe>

Will try now...

Didn't work. Same error:
Could not find a crafting ingredient for 'crystalPureFluix in 'Conduit, ME Conduit (Pure)'

It seems my user_recipes.xml file didn't load. Not sure why...

...edit. It was the permissions on user_recipes.xml file. I fixed them and tried again, now I'm getting:

== Bad file ==
user_recipes.xml
== Error Message ==
Could not find a crafting ingredient for 'CONDUIT_BINDER in 'Conduit, ME Conduit (Pure)'

So it seems like I need to go and replace more items like I did before. Will try more and update later...

crystalPureFlux is the oredict name. If you provide the full error on something like pastebin i will look into it.

Perhaps this has something to do with mod load order?

Here's the full crash log:
https://pastebin.com/sA5dSWiF

Update:

I did the same fix for "CONDUIT_BINTER" so now my user_recipies.xml has this:

<recipe name="Conduit, ME Conduit (Pure)" required="true">
    <crafting>
      <grid>
        <item name="enderio:item_material:4" /><item name="enderio:item_material:4" /><item name="enderio:item_material:4" />
        <item name="appliedenergistics2:material:12" /><item name="appliedenergistics2:part:140" /><item name="appliedenergistics2:material:12" />
        <item name="enderio:item_material:4" /><item name="enderio:item_material:4" /><item name="enderio:item_material:4" />
      </grid>
      <output name="enderio:item_me_conduit:0" amount="8">
      </output>
    </crafting>
  </recipe>

I tried launching the server again and now that error seems to be fixed, but there are other problems still preventing it from finishing boot. Here's an updated crash log:
https://pastebin.com/qkMNtHQf

Seems this might be the cause?

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Ender IO (enderio)
Caused by: java.lang.RuntimeException: CapacitorKey enderio:block_machine_base/no_power has not been configured. This should not be possible and may be caused by a 3rd-party addon mod.

Thanks for your help.

No idea what's with the AE2 oredict, but for the rest I'd recommend you look at what you are disabling. e.g. when you disable the alias CONDUIT_BINDER you should not be surprised that recipes that use that alias won't work anymore. Or that when you disable the built-in capacitor values capacitors don't know what to do...

That's the thing...I haven't disabled anything. I simply downloaded FTB Revelation and tried to run it on my server like I normally would with other modpacks. EnderIO seems to be the only mod preventing it from starting.

Ok, the start the server with -DINDEV=1 and post the full log as a gist.

Yeah... capacitor keys not configured... what do you have "disable core recipes" set to?

In the EnderIO.cfg file I have:

recipe {
B:loadCoreRecipes=false

I had it set to "true" originally, it was suggested to change it to "false" in this thread: https://github.com/SleepyTrousers/EnderIO/issues/4711

OK I set loadCoreRecipes back back to "true" and here's the results:

Crash report:
http://frascone.us/testing/crash-2018-06-27_16.02.40-server.txt

Notice we're back to the original problem...

== Bad file ==
recipes/conduits-applied-energistics.xml
== Error Message ==
Could not find a crafting ingredient for 'crystalPureFluix in 'Conduit, ME Conduit (Pure)'

Full log:
http://frascone.us/testing/latest2.log

Does pure flux crystals not have an oredict in this pack?

I checked /config/AppliedEnergistics2/aerecipes/generated/oredict.recipe and here's what's in the file:
https://pastebin.com/HPADNpgz

 <recipe name="Conduit, ME Conduit (Pure)" required="false" disabled="true" >
    <crafting>
      <grid>
        <item name="CONDUIT_BINDER" /><item name="CONDUIT_BINDER" /><item name="CONDUIT_BINDER" />
        <item name="crystalPureFluix" /><item name="appliedenergistics2:part:140" /><item name="crystalPureFluix" />
        <item name="CONDUIT_BINDER" /><item name="CONDUIT_BINDER" /><item name="CONDUIT_BINDER" />
      </grid>
      <output name="enderio:item_me_conduit:0" amount="8">
      </output>
    </crafting>
  </recipe>

Put that in user recipes
That might work.

Added that to my user_recipes.xml file in /config/enderio/recipes/user/

Crash log:
http://frascone.us/testing/crash-2018-06-27_16.20.21-server.txt

Still getting this:

== Bad file ==
recipes/conduits-applied-energistics.xml
== Error Message ==
Could not find a crafting ingredient for 'crystalPureFluix in 'Conduit, ME Conduit (Pure)'

Add disabled="true" to the end of the first line. I edited my post

I talked to the AE2 devs and it looks like someone disabled all those nice AE2 feature we need for the conduits. So you now have 2 possibilities: (a) edit the ae2 config to enable them or (b) remove the ME conduit sub-mod.

Ok now back to the original post :)
Can we get a disclaimer of some sort near disable all core recipes?

So I'm not completely crazy / stupid. haha

Anyway, I before you replied, I decided to download the FTB Revelation 2.1.0 (Beta) and it booted right up on the first try... Of course, who knows if the AE2 / EnderIO mods will play together nicely in-game.

We have that disclaimer in each and every core recipe file (nightly), I'd wait with another disclaimer until that has been published...

Um my pack doesnt have AE2 nor do I want some random integration from it, and I do want to load my user recipes (so core recipes have to be false) (and also previously they have worked, so something new is causing this, like a mod update), so is there a way to fix this capacitor recipe issue?

This issue is specifically about some problems with AE2 disabled items. If you have a separate issue please report it separately.

Disabling core recipes also disables capacitor keys you will have to configure new ones.

Also @tterrag1098 he was op... someone else made it about ae disabling items.

@MasterBuilder747
You need this in user recipes as well..
https://github.com/SleepyTrousers/EnderIO/blob/master/enderio-base/src/main/resources/assets/enderio/config/recipes/capacitor.xml

in that case, core recipes does NOT need to be false to load user recipes.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

C4J3 picture C4J3  路  5Comments

kennymoto picture kennymoto  路  4Comments

hound12321 picture hound12321  路  5Comments

Thunderheadz picture Thunderheadz  路  3Comments

LordMZTE picture LordMZTE  路  3Comments