Hitmarker

Hitmarker

163k Downloads

[1.16.5 Forge] Cannot guarantee SoundEvent ResourceLocation is available in time where called on low performance machines

Kaleidio opened this issue ยท 2 comments

commented

Failure message: HitMarker (hitmarker) encountered an error during the load_registries event phase
java.lang.NoSuchMethodError: net.minecraft.util.SoundEvent.func_187503_a()Lnet/minecraft/util/ResourceLocation;
Mod Version: 1.16.5-1.1
Mod Issue URL: NOT PROVIDED
Exception message: java.lang.NoSuchMethodError: net.minecraft.util.SoundEvent.func_187503_a()Lnet/minecraft/util/ResourceLocation;
Stacktrace:
at tfar.hitmarker.HitMarker.sounds(HitMarker.java:62) ~[hitmarker:1.16.5-1.1] {re:classloading}

commented

Issue is due to thread racing with forge when registering sound events. A workaround is required for low end machines to guarantee stability.

happened when trying to load alongside a bunch of other mods (so the threads are heavily workloaded), Kaleidio's Battle Pack, on a remote server with a 2nd gen 10 core Xeon

commented

closed as I found the forge fork has a separate repository