minecraft create mod code example

Example 1: how to code a minecraft json file mod

this is for the manifest.json file
{
    "format_version": 1,
    "header": {
        "uuid": "6796d13d-a738-4f5d-ac8e-f26c630411eb",
        "name": "NAME HERE",
        "description": "YOUR DESCRIPTION HERE",
        "version": [
            0,
            0,
            1
        ]
    },
    "modules": [
        {
            "description": "YOUR DESCRIPTION HERE",
            "type": "resources",
            "version": [
                0,
                0,
                1
            ],
            "uuid": "743f6949-53be-44b6-b326-398005028819"
        }
    ]
}

Example 2: what is a minecraft mod

A Minecraft mod is a .jar type file, when used in combination with a Modloader
like forge that mod will have the power to add/remove/edit features
of the default game,
EG a horse mod could add many new breeds of horse
A space mod (galacticraft is EPIC) could add new planets and spaceships

Tags:

Misc Example