Using recipes.all return sometimes [[null, null, null], [null, null, null], [null, null, null]] as IIngredient[][] where ore dictionary entries should be
Guinaro opened this issue ยท 0 comments
Issue Description:
When doing a print out of all recipes using code (not the command /ct recipes)
I get some entries where the IIngredients[][] is [[null, null, null], [null, null, null], [null, null, null]]
What happens:
E.g.
...
[INITIALIZATION][CLIENT][INFO] gadgets/stone/stone_ladder recipes.addShaped("tconstruct:gadgets/stone/stone_ladder", <tconstruct:stone_ladder> * 3, [[null, null, null], [null, null, null], [null, null, null]]);
...
Checking the recipe in TConstructs Github at https://github.com/SlimeKnights/TinkersConstruct/blob/08f7180399ca8ad4717493dd0aa5a63b7aa14584/resources/assets/tconstruct/recipes/gadgets/stone/stone_ladder.json
I find that those empty entries should actually be oredict entries.
For example given it should be <ore:rodStone>
.
Checking in game with /ct recipes hand
The result is then
[[<tconstruct:stone_stick>, null, <tconstruct:stone_stick>], [<tconstruct:stone_stick>, <tconstruct:stone_stick>, <tconstruct:stone_stick>], [<tconstruct:stone_stick>, null, <tconstruct:stone_stick>]]
What you expected to happen:
To either get a recipe with <oredict:entry>
or <actual:item>
.
Script used:
https://gist.github.com/Guinaro/7bd9dfeb9fd5bbfb236c801d5f8e57b0
Minetweaker.log file:
https://gist.github.com/Guinaro/a4170cc55d946911273784c0411c547c
Affected Versions (Do not use "latest"):
- Minecraft: 1.12.2
- Forge: 14.23.2.2618
- Crafttweaker: 4.1.5 Gradle Built according latest sources for crafttweaker and zenscript, with fixes for #479 and #480
Your most recent log file where the issue was present:
https://gist.github.com/Guinaro/e0be894d9bea06678d34de94f8bdc2b4