#Latest Moonlight breaks generated recipes

13 messages · Page 1 of 1 (latest)

teal maple
#

Latest 1.19 version of Moonlight 1.19.2-2.0.40, EC.
Pretty much every recipe spits a message like this into console:

[16:44:52] [Render thread/ERROR]: Failed to generate recipe for fd/deeperdarker/echo_cabinet:
java.lang.UnsupportedOperationException: Could not convert output item oak_cabinet from type minecraft:oak to deeperdarker:echo
    at net.mehvahdjukaar.moonlight.core.recipe.ShapedRecipeTemplate.createSimilar(ShapedRecipeTemplate.java:61) ~[moonlight-1.19.2-2.0.40.jar%23251!/:?]
    at net.mehvahdjukaar.moonlight.core.recipe.ShapedRecipeTemplate.createSimilar(ShapedRecipeTemplate.java:23) ~[moonlight-1.19.2-2.0.40.jar%23251!/:?]
    at net.mehvahdjukaar.moonlight.api.resources.recipe.IRecipeTemplate.createSimilar(IRecipeTemplate.java:17) ~[moonlight-1.19.2-2.0.40.jar%23251!/:?]
    at net.mehvahdjukaar.every_compat.misc.ResourcesUtils.lambda$addBlocksRecipes$6(ResourcesUtils.java:260) ~[everycomp-1.19.2-2.0.8.jar%23210!/:?]
    at java.util.HashMap.forEach(Unknown Source) ~[?:?]

I tested my same environment with Moonlight 1.19.2-2.0.38 and all of the recipes were fine (no issue with that version).

midnight hollow
#

Wack

#

When refactoring goes wrong

midnight hollow
#

Should be fixed now

teal maple
midnight hollow
#

Hmmm

#

I'm home now so I'll test. I did try this morning by analizing console only and item swapping for recipes was working while it was indeed broken before

teal maple
#

I could send my logs but I think the error is the same

midnight hollow
#

ok so found an issue

#

easy fix withouth breaking changes this time. surprised I managed to push a breaking change and update all mods at the same time

#

that method I fixed was actually broken 3 times over, I fixed 2, one remained

teal maple
#

amazing

midnight hollow
#

uff so much troubles. all this was because I added some internal maps that keep track of all the objects (no longer just blocks and ittems) of a certain block type