If you'd like to see existing mods come to the Bedrock platform, please contact the talented community creators of these mods and ask them to take a look at the modding API documentation at http://aka.ms/minecraftaddons Bugs, requests for specific existing mods, feature lists, and support issues will be removed. Please put mashup requests and copyrighted content requests in Marketplace.

6

Automatically update or change block identifiers

1 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 0
    Registered User commented
    Comment actions Permalink
    Here is an idea of how the json could be formatted.
    {
         "format_version": "<Implemented-Version>",
        "minecraft:updater": {
            "minecraft:blocks": {
                "minecraft:stone_stairs": { // old ID
                    "identifier": "custom:stone_stairs", // new ID
                    "properties": {
                        "minecraft:weirdo_direction": { // old property
                            "property": "custom:direction", // new property
                            "values": [
                                {
                                    "current": 0, // old value
                                    "updated": "'north'" // new value
                                },
                                {
                                    "current": 1,
                                    "updated": "'south'"
                                },
                                {
                                    "current": 2,
                                    "updated": "'west'"
                                },
                                {
                                    "current": 3,
                                    "updated": "'east'"
                                }
                            ]
                        }
                    }
                }
            },
            "minecraft:items": {
                "minecraft:paper": {
                    "identifier": "custom:paper"
                }
            },
            "minecraft:biomes": {
                "minecraft:plains": {
                    "identifier": "custom:plains"
                }
            }
        }
    }