def METHOD_NAME():
    with open(
        BASE_DIR / "static/game_data/entities.json", encoding="utf-8"
    ) as entities_file:
        entities_json = json.load(entities_file)
        enum_values = {
            name[len("ENT_TYPE_") :]: obj["id"] for name, obj in entities_json.items()
        }
        enum_values["DEFAULT_TYPE_ID"] = 0
    return IntEnum("EntityType", enum_values)