KubeJS

KubeJS

69M Downloads

Another issue related to IE treated wood

malte0811 opened this issue ยท 6 comments

commented

See BluSunrize/ImmersiveEngineering#4277

This is apparently different from #14 (reporter in the IE issue is using the latest 1.16.1 build of KubeJS). The error message is

[Render thread/ERROR] [KubeJS Server/]: Parsing error loading recipe immersiveengineering:crafting/treated_wood_horizontal: java.lang.IllegalStateException: Tag forge:creosote used before it was bound

This shouldn't ever happen in IE code unless you're reading recipes from JSON on the client. I was going to debug this a bit more, but apparently FG doesn't properly deobfuscate Mixins.

commented

Hm. This error usually happens due to script not recipe. All tags should already be loaded when recipes get loaded. Ill download Valhhelsia 3 and check it out

commented

Able to reproduce on Enigmatica 6 version 0.2.16. It's why we currently have to reload the server once every time after we start it up

commented

Currently having this issue the same as Max with Enigmatica 6 on a server. Sadly makes it impossible to get into IE without using cheats/operator powers.

commented

This is especially frustrating because E6 currently has an issue with productivebees where the game crashes on reload...

commented

This issue seems to be related to the use of KubeJS in modpacks, To solve this open the server and goto {server}\kubejs\data\{modpack}\kubejs\recipes, In my case this is Valhelsia_SERVER-3.0.17\kubejs\data\valhelsia\kubejs\recipes.
Create a new file and call it whatever you want, like: ie_crafting.js

events.listen('recipes', function (event) {
	event.shaped(item.of('forge:treated_wood', 8), [
		'AAA',
		'ABA',
		'AAA'
	], {
		A: 'minecraft:planks',
		B: 'immersiveengineering:creosote_bucket'
	})
});

Then load up the server, or if its already loaded type /reload. The crafting recipe will then be fixed.

commented