Crafttweaker and Immersive engineering incompatibility when it comes to recipe removal functions
Warhand opened this issue ยท 2 comments
Issue description
On a worlds first load in a session, IE recipes are broken, there seems to be some issue where IE isn't able to determine the contents of tags because of something to do with an item removal script, resulting in IE recipes that use tags to determine their outputs just outputting nothing at all.
This issue lasts until a reload, and then is fixed, but stops working again after the game is restarted.
Steps to reproduce
Load Crafttweaker, JEITweaker, Immersive engineering, and JEI in the same profile together.
Add the script provided into the scripts folder.
Launch the game.
Launch a new world.
The bug can be observed, and will correct itself after a reload, but will return after the game fully restarts and the world is entered again for the first time.
Script used
https://gist.github.com/Warhand/7bbe1340eb9138109cb48b326a269d48
The crafttweaker.log file
https://gist.github.com/Warhand/23f010da77b2bd1087f9e61d39772fe7
Minecraft version
1.18
Modloader
Forge
Modloader version
40.1.25
CraftTweaker version
9.1.155
Other relevant information
Immersive engineering version: 8.0.2-149
JEI: 9.5.5.174
The latest.log file
https://gist.github.com/Warhand/291e8a6457fcf9e6f23ea85359a4b94d
Only seems to affect recipe types that are explicity called by the script, the issue stopped affecting the blast furnace when I removed the generic recipes
function, but it still affected things like the arc furnace, alloy smelter, and metal press, which are explicitly called by the script in the form of <recipetype:immersiveengineering:arc_furnace>.remove(item);