StaTech Industry

StaTech Industry

300k Downloads

Missing Bottle of failing recipe in Spectrum

Puniek opened this issue ยท 6 comments

commented

image
Along with many others in 1.1.10. Command /spectrum-sanity lists tonnes of them.

commented

Did you have any error messages in chat when joining the world. I'm going to guess that it's probably the KubeJS tag error causing recipes to not load correctly. Check our logs/kubejs/server.log file and post it here.

commented

Nope, no errors with kubejs, also not getting any errors in chat when logging in.
server.log

@ Edit

Did a reload on the server, and got this in kubejs server log.

[12:25:53] [ERROR] ! Error occurred while handling event 'ServerEvents.tags': java.lang.IllegalStateException
[12:25:53] [ERROR] ! Error occurred while handling event 'ServerEvents.tags': java.lang.IllegalStateException
[12:25:53] [ERROR] ! java.lang.IllegalStateException
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.server.TagEventJS.lambda$static$0(TagEventJS.java:28)
[12:25:53] [ERROR] ! java.lang.IllegalStateException
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.event.EventHandlerContainer.handle(EventHandlerContainer.java:53)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.event.EventHandler.postToHandlers(EventHandler.java:302)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.event.EventHandler.post(EventHandler.java:264)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.server.TagEventJS.lambda$static$0(TagEventJS.java:28)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.event.EventHandler.post(EventHandler.java:216)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.event.EventHandlerContainer.handle(EventHandlerContainer.java:53)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.server.TagEventJS.post(TagEventJS.java:260)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.core.TagLoaderKJS.kjs$customTags(TagLoaderKJS.java:27)
[12:25:53] [ERROR] !    at net.minecraft.class_3503.handler$cjd000$kubejs$customTags(class_3503.java:1032)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.event.EventHandler.postToHandlers(EventHandler.java:302)
[12:25:53] [ERROR] !    at net.minecraft.class_3503.method_33174(class_3503.java:68)
[12:25:53] [ERROR] !    at net.minecraft.class_3503.method_33176(class_3503.java:163)
[12:25:53] [ERROR] !    at net.minecraft.class_3505.method_33181(class_3505.java:64)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.event.EventHandler.post(EventHandler.java:264)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.event.EventHandler.post(EventHandler.java:216)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.server.TagEventJS.post(TagEventJS.java:260)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.core.TagLoaderKJS.kjs$customTags(TagLoaderKJS.java:27)
[12:25:53] [INFO] [minecraft:worldgen/biome] Found 490 tags, added 1 objects, removed 3 objects
[12:25:53] [ERROR] !    at net.minecraft.class_3503.handler$cjd000$kubejs$customTags(class_3503.java:1032)
[12:25:53] [ERROR] !    at net.minecraft.class_3503.method_33174(class_3503.java:68)
[12:25:53] [ERROR] !    at net.minecraft.class_3503.method_33176(class_3503.java:163)
[12:25:53] [ERROR] !    at net.minecraft.class_3505.method_33181(class_3505.java:64)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

commented

Yep, there it is. That KubeJS ISE is a long running bug with the mod. You can fix it by doing another /reload on the server.

If you ever see that error, it will have breaking effects on recipes as well.

commented

It reloaded with no errors, but the sanity checks on the spectrum mod still shows the missing advancement to unlock the recipe.
99.9% sure the prerequisites are met for it. Maybe it's under a different id?

commented

Well the recipe id in your initial post is a randomly generated one, which shouldn't happen as every custom recipe in spectrum has an id. Something may be wrong with your installation, as the error is specifically saying it can't find the advancement, which is impossible if Spectrum is installed.

commented

Did a bit more digging. One of the admins updated spectrum to higher version, which changed internally some advancement ids. So a false alarm and a thing to think about if you get to update the Spectrum in future - it will require some migration code for the changes to not break the progress on existing worlds.