Jump to content

[1.19.2] Custom mod runs fine locally but fails on server


Gedeon

Recommended Posts

I'm running into what I'm sure is a pretty novice issue but I cannot find the help that I need in past posts. I've created a mod that I've tested well on my local mc instance. However, it fails to load (server crashes on load) when trying to use it in on a brand new forge 1.19.2-43.2.0 server with a friend. The pain point is clearly a SoundInstance, and the only sound I've added is a custom song that plays upon entry to the nether (works fine on local mc).

FML: 43.2
        Forge: net.minecraftforge:43.2.0[22:36:38] [main/ERROR] [minecraft/Main]: Failed to start the minecraft server
net.minecraftforge.fml.LoadingFailedException: Loading errors encountered: [
        First Mod (firstmod) has failed to load correctly
?7java.lang.RuntimeException: Attempted to load class net/minecraft/client/resources/sounds/SoundInstance for invalid dist DEDICATED_SERVER
]

As I understand from similar issues by folks in the modding community, this is due to a client mod/feature on the dedicated server? However, I have MANY server-side features, such as custom blocks, weapons, structures, etc. Any help would be much appreciated, thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.