Try to add custom Bee Products via Gendustry config not working
Dream-Master opened this issue · 10 comments
I try to add custom items from the Core Mod of my Modpack as bee products to the Centrifuge.
The log says Item stack not found. All other Mods items works fine.
I try this
centrifuge: S:gendustry:"HoneyComb.naga", 40 cycles => {
33% S:dreamcraft:"item.NagaScaleChip"
5% S:dreamcraft:"item.NagaScaleFragment"
30% I:Forestry:beeswax
5% I:MagicBees:propolis@4 // Earth Propolis
and this
centrifuge: S:gendustry:"HoneyComb.naga", 40 cycles => {
33% I:dreamcraft:"item.NagaScaleChip"
5% I:dreamcraft:"item.NagaScaleFragment"
30% I:Forestry:beeswax
5% I:MagicBees:propolis@4 // Earth Propolis`
not works.
Log:
[22:46:54] [Client thread/DEBUG] [gendustry/gendustry]: Adding centrifuge recipe: StackGeneric(gendustry,HoneyComb.naga) => List((33.0,StackItem(minecraft,item.NagaScaleChip,32767)), (5.0,StackItem(minecraft,item.NagaScaleFragment,32767)), (30.0,StackItem(Forestry,beeswax,32767)), (5.0,StackItem(MagicBees,propolis,4)))
[22:46:54] [Client thread/WARN] [bdlib/gendustry]: Unable to resolve StackItem(minecraft,item.NagaScaleChip,32767): Item not found minecraft:item.NagaScaleChip
[22:46:54] [Client thread/WARN] [bdlib/gendustry]: Unable to resolve StackItem(minecraft,item.NagaScaleFragment,32767): Item not found minecraft:item.NagaScaleFragment
[22:46:54] [Client thread/DEBUG] [bdlib/gendustry]: meta/damage is unset in StackItem(Forestry,beeswax,32767), defaulting to 0
[22:46:54] [Client thread/DEBUG] [gendustry/gendustry]: Done 1xitem.gendustry.HoneyComb@1000 -> {1xitem.for.beeswax@0=0.3, 1xitem.propolis@4=0.05}
In the registry.dump file i see the items like i wrote it (no spelling errors)
dreamcraft:item.NagaScaleChip
dreamcraft:item.NagaScaleFragment
This is the Core Mod (Namikon the Author is away atm that's why i asking here)
https://github.com/GTNewHorizons/NewHorizonsCoreMod
Item list registered here:
Changes/additions i made:
GTNewHorizons/GT-New-Horizons-Modpack@a0cf34d
The Core Mod need YAMCL
https://github.com/GTNewHorizons/Yamcl
Can this be the problem (how he mod registered items)?
https://github.com/GTNewHorizons/Yamcl/blob/de084e60c86b1d8a807eddb876c873f854da5c34/src/main/java/eu/usrv/yamcore/items/ModItemManager.java#L81
I hope i get help here.
Thanks in advance
It's using GameRegistry.registerItem - so you need to use the I:... version.
I don't see why that wouldn't work. Can you please try again with that form and if it fails upload the full client log somewhere?
Not working with "I-Version" too.
Ok here the FML Log:
https://gist.github.com/Dream-Master/340d335d330386dfa825#file-fml-log
Here my Pack (Technic Launcher instance)
https://www.dropbox.com/s/25ku32d5mv27phd/mcnewhorizons.zip?dl=0
Please try this version - http://jenkins.bdew.net/job/gendustry-1.7.10/133/artifact/build/libs/gendustry-1.6.4.133-mc1.7.10.jar
That build is identical to the last release version, except that I've moved recipe loading from init to postInit and i think this will fix your issue as well (You are registering the items in init, and it's getting called after gendustry, so the items don't exist yet when it looks for them).
Thanks for the fast replay.
We using Forestry 3.6 because of Binnies mod. We will update in the future because there is a binnie patcher now. Is version 133 Forestry 3 compatible?
Is this the line change the things ?
746bcf6
If yes i can try to fork your project and build my own version with the olkd version if possible.
Yeah that's the change.
You could also change your mod to have before:gendustry in it's dependencies so that it will load before. Or maybe move that item registration to preInit if that's feasible.
I thinking about different solutions.
before:gendustry i will try first.
I also try too add those recipe via Java to the Core mod (Gregtech Centrifuge recipe) make it more flexible in EU usage and Time need for centrifuge.
Thanks for the help. When it works i will close the issue.