def get_defs_ids(gamePlatform, gameVersionNumber, namespace=u"minecraft"):
    """Create a MCEditDefsIds instance only if one for the game version does not already exists, or a definition file has been changed.
    See MCEditDefsIds doc.
    Returns a MCEditDefsIds instance."""
    if gamePlatform in version_defs_ids.keys() and gameVersionNumber in version_defs_ids[gamePlatform].keys():
        obj = version_defs_ids[gamePlatform][gameVersionNumber]
        timestamps = obj.timestamps
        if not obj.check_timestamps(timestamps):
            return obj
    else:
        return MCEditDefsIds(gamePlatform, gameVersionNumber, namespace=namespace)
Create a MCEditDefsIds instance only if one for the game version does not already exists, or a definition file has been changed.
    See MCEditDefsIds doc.
    Returns a MCEditDefsIds instance.
pymclevel/id_definitions.py