Blueprint

Blueprint

72M Downloads

Crash in prominence when using custom inventory from Dawn of Time

PierreChag opened this issue ยท 3 comments

commented

Hello !
I'm the main developer of the mod Dawn of Time. My mod adds mostly decoration blocks. Because we have quite a lot, we added some lateral tabs in the creative inventory tab of my mod :

Image

This inventory works quite well, but it seems there is some kind of incompatibility when put in the popular (and big) modpack Prominence II. Basically, you can open the creative inventory and navigate in the lateral tabs of my mod that are on the first page, but when you click on the arrow at the bottom (circled in red in the picture), the game crashes with a cryptic message :

java.util.ConcurrentModificationException: null
	at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1013) ~[?:?] {}
	at java.util.ArrayList$Itr.next(ArrayList.java:967) ~[?:?] {}
	at net.minecraft.server.packs.resources.SimpleReloadInstance.<init>(SimpleReloadInstance.java:42) ~[client-1.20.1-20230612.114412-srg.jar%23380!/:?] {re:mixin,re:classloading,pl:mixin:APP:modernfix-common.mixins.json:feature.measure_time.SimpleReloadInstanceMixin,pl:mixin:APP:blueprint.mixins.json:SimpleReloadInstanceMixin,pl:mixin:A}
	at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10815_(SimpleReloadInstance.java:32) ~[client-1.20.1-20230612.114412-srg.jar%23380!/:?] {re:mixin,re:classloading,pl:mixin:APP:modernfix-common.mixins.json:feature.measure_time.SimpleReloadInstanceMixin,pl:mixin:APP:blueprint.mixins.json:SimpleReloadInstanceMixin,pl:mixin:A}
	at net.minecraft.server.packs.resources.SimpleReloadInstance.m_203834_(SimpleReloadInstance.java:101) ~[client-1.20.1-20230612.114412-srg.jar%23380!/:?] {re:mixin,re:classloading,pl:mixin:APP:modernfix-common.mixins.json:feature.measure_time.SimpleReloadInstanceMixin,pl:mixin:APP:blueprint.mixins.json:SimpleReloadInstanceMixin,pl:mixin:A}
	at net.minecraft.server.packs.resources.ReloadableResourceManager.m_142463_(ReloadableResourceManager.java:45) ~[client-1.20.1-20230612.114412-srg.jar%23380!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:modernfix-common.mixins.json:perf.resourcepacks.ReloadableResourceManagerMixin,pl:mixin:APP:blueprint.mixins.json:client.ReloadableResourceManagerMixin,pl:mixin:A}
	at net.minecraft.client.Minecraft.<init>(Minecraft.java:561) ~[client-1.20.1-20230612.114412-srg.jar%23380!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.client.main.Main.main(Main.java:182) ~[1.20.1-forge-47.3.33.jar:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:notenoughcrashes.forge.mixins.json:client.MixinMain,pl:mixin:APP:flywheel.mixins.json:ClientMainMixin,pl:mixin:A,pl:runtimedistcleaner:A}

Could you help understand what could be the reason of this crash ? To be honest I'm a bit lost hahaha

commented

I don't see how this has anything to do with Blueprint. Are you sure this crash only happens when Blueprint is present?

commented

Well, blueprint's name appears 5 times :
"pl:mixin:APP:blueprint.mixins.json:SimpleReloadInstanceMixin". If it's not blueprint, then what is this crash report telling me ?
And as you can guess, debugging a 400+ modpack is really tedious (it takes around 5 minutes to test on my old laptop) I was hopping that the crash report would be enought to identify the problem. I apologize if I was wrong to ask here, you can close this issue.

commented

There is nothing in the crash report that suggests it's a Blueprint issue based on my technical knowledge.