Skip to content

Unknown block error #6

Open
Open
@Raspi-dude

Description

@Raspi-dude

Hello, when I tried to run this on my world it seemed to run into unknown blocks. I have an original bed from an earlier version of the game when there was only the red bed, and when I updated my game to later versions that had colored beds it turned invisible but still works as a bed. I think this is causing issues because I get the issue down below. I think a good fix for this would be to just skip unknown blocks. Thanks for looking into this.

Converting chunks:   5%|██▌                                                      | 193/4226 [00:10<03:31, 19.08chunk/s]
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "c:\temp\chunker-env\Scripts\3dschunker.exe\__main__.py", line 7, in <module>
  File "c:\temp\chunker-env\Lib\site-packages\click\core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\temp\chunker-env\Lib\site-packages\click\core.py", line 1363, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "c:\temp\chunker-env\Lib\site-packages\click\core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\temp\chunker-env\Lib\site-packages\click\core.py", line 794, in invoke
    return callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\temp\chunker-env\Lib\site-packages\mc3ds\__main__.py", line 89, in main
    convert(world, blank_world, world_out, delete_out)
  File "c:\temp\chunker-env\Lib\site-packages\mc3ds\convert.py", line 217, in convert
    for current_region_position, chunk in tqdm(
  File "c:\temp\chunker-env\Lib\site-packages\tqdm\std.py", line 1181, in __iter__
    for obj in iterable:
  File "c:\temp\chunker-env\Lib\site-packages\mc3ds\convert.py", line 205, in map
    yield func(thing)
          ^^^^^^^^^^^
  File "c:\temp\chunker-env\Lib\site-packages\mc3ds\convert.py", line 181, in convert_chunk
    chunk_converter.place_blocks()
  File "c:\temp\chunker-env\Lib\site-packages\mc3ds\convert.py", line 60, in place_blocks
    raise ValueError(
ValueError: UNKNOWN UNKNOWN UNKNOWN 0xF0```

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