Closed jmarchant22 closed 1 year ago
can you add an example of a changed datapack for testing? (including exact location where you put it and a screenshot "how" you have enabled it inside the client)
can you add an example of a changed datapack for testing? (including exact location where you put it and a screenshot "how" you have enabled it inside the client)
this
Yes, Here is a test datapack to use. https://github.com/jmarchant22/Immersive-Petroleum-Custom-Datapack-JAM-28APR23.git The oil distillation tower should be changed, and the lubricant cracking and naphtha cracking hydrotreater recipes should also be changed. The distillation tower multiblock should be changed to using silver sheetmetal instead of iron sheetmetal.
Full paths of every folder inside that data
folder
in text form please...
Edit: And make sure everything is lower-case
Distillation Tower Oil Recipe:
"~\data\immersivepetroleum\recipes\distillationtower\oil.json"
Hydrotreater Recipes:
"~\data\immersivepetroleum\recipes\hydrotreater\lubricant_cracking.json"
"~\data\immersivepetroleum\recipes\hydrotreater\naphtha_cracking.json"
Distillation Tower NBT Structure:
"~\data\immersivepetroleum\structures\multiblocks\distillationtower.nbt"
Thats on your end. (Probably KubeJS being the fault, try removing that) I've got it working on my end without having done anything to the datapack you provided.
And the HPRU's secondary_input
only accepts tag
and not fluid
. (Hydrotreater)
Those wont even work because of it and will drop a com.google.gson.JsonSyntaxException: Missing tag, expected to find a string
error in the logs.
PS: Structure files require either a full game restart or world-reload btw
Confirmed, it is one of my KubjeJS scripts. Will add one more comment which will show the solution, in case anyone stumbles upon this in the future.
All my KubeJS scripts appear to be fine, and the structure is now loading properly. Closing this issue.
Minecraft Version
1.18.2
Immersive Engineering Version
8.4.0-161
Immersive Petroleum Version
4.1.0-19
Current Behaviour
When a datapack is loaded with either KubeJS, Openloader, or the Minecraft built-in datapack loader, files in the datapack that are structured to override files in Immersive Petroleum's internal datapack file structure, will not override. Tested with both recipe JSONs and Structure NBT data.
Expected Behaviour
Files are supposed to override properly and recipes and/or structures should be changed accordingly.
Reproduction Steps
Debug Crash Log
https://gist.github.com/jmarchant22/95f915007fc21a8d235283bfda90a0f9
Information for the reader.