Skip to content

Getting Started

cubex2 edited this page Mar 25, 2018 · 5 revisions

To get started, you need to create a new folder in the mods directory of you minecraft installation. In that folder create a file called cs4mod.json with the following content:

{  
	"id": "mymod",
	"name": "My Mod",
	"version": "1.0.0"
}

Replace mymod with the id for your mod. The id must only contain lowercase letters (a-z), numbers (0-9) and underscores.
Replace My Mod with the name for your mod.
Replace 1.0.0 with the version of your mod.

You can now start Minecraft, which will create the necessary files for your mod to work. Note that your mod will only appear in the mod list after the second start of Minecraft. There should now be a folder called cs4mod next to cs4mod.json.
That's it. You've set everything up.

To change the version of your mod, edit the cs4mod.json file, delete the cs4mod folder and start Minecraft. Make sure to not load a world before the second start of Minecraft as your mod will not be loaded until then.