FTBTeam / FTB-Modpack-Issues

Any and all FTB Modpack issues are here! Please create a new issue, add to an existing one or maybe even suggest a feature in the discussions
https://feed-the-beast.com/modpack
40 stars 11 forks source link

client-specific classes trying to load into server-only environments #5751

Closed lazycooken closed 2 weeks ago

lazycooken commented 2 weeks ago

Modpack

FTB Unstable 1.21

Modpack version

1.20

Launcher

Server

Has the pack been modified

No

Log Files

latest.log

Describe the bug

When running the Minecraft server with NeoForge and installed mods, the server attempts to load a client-side class (net.minecraft.client.resources.model.ModelBakery$ModelBakerImpl) on a dedicated server, causing the following error:

Steps to reproduce

Install the mod on a dedicated server. Start the server. Observe the error during the startup process.

Expected behaviour

Client-only classes should not be loaded on a dedicated server. Mods should properly separate client-side and server-side functionality.

Screenshots

No response

Additional information

No response

Gaz492 commented 2 weeks ago

The issue which was causing the unstable server to not start should be fixed now which was caused by entity model renderer and health indicators

The additional messages saying something tried to load a client only class can safely be ignored and is a mod specific issue, but shouldn't cause any further issues other than displaying a warning message while the server starts up.