Skip to content

Error while trying to access bedrock 1.19 (1.19.10) data #24

@felipedeoliveirarios

Description

@felipedeoliveirarios

When I try to load the bedrock data for version 1.19.10, i'm getting a file not found error. My code:

import minecraft_data

mcd_java = minecraft_data("1.19")
mcd_bedrock = minecraft_data("1.19.10", "bedrock")

The error:

Traceback (most recent call last):
  File "main.py", line 4, in <module>
    mcd_bedrock = minecraft_data("1.19.10", "bedrock")
  File "/home/runner/MCJavaResourcePack2Bedrock/venv/lib/python3.8/site-packages/minecraft_data/__init__.py", line 12, in __call__
    return type(version, (object,), convert(_dir, version, edition))
  File "/home/runner/MCJavaResourcePack2Bedrock/venv/lib/python3.8/site-packages/minecraft_data/tools.py", line 9, in convert
    data = _grabdata(_dir, datapaths[edition][version])
  File "/home/runner/MCJavaResourcePack2Bedrock/venv/lib/python3.8/site-packages/minecraft_data/tools.py", line 61, in _grabdata
    with open(os.path.join(_dir, folder, f'{category}.json')) as fp:
FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/MCJavaResourcePack2Bedrock/venv/lib/python3.8/site-packages/minecraft_data/data/data/bedrock/latest/proto.json'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions