Started by
Gsxt3ryo
on
Topic category: Help with Minecraft modding (Java Edition)
I need help making a mod for Forge 1.18.2 (40.1.0) with the mod being inactive when playing single player
Edited by Gsxt3ryo on Sat, 07/15/2023 - 06:19
Topic category: Help with Minecraft modding (Java Edition)
I need help making a mod for Forge 1.18.2 (40.1.0) with the mod being inactive when playing single player
I don't know if that's what you're asking but you can click on Workspace at the top left click on workspace settings (or ctrl+alt+p) go to "advanced settings" and click on "server side only"
But it wasnt working
From what i know you don't have to do anything. Your mod can't contain any code that needs client side (new entities, blocks, items etc). As long as your mod has only procedures and commands (both has to be server sided only, because there are some procedures and global triggers that need client), your mod should be considered by forge as server sided.