Skip to content

Tag type 31 is not supported by this module yet #5

@skushnarev

Description

@skushnarev

Hello! Found an error.
There are two files:
colony 1.dat
colonies.dat
Both read correctly. And there is one file, as I understand it, it contains both of these files.
capabilities.dat

When I try to read it, I get an error:

D:\Projects\Colonial-Therapist\preload.js:44 TypeError: Tag type 31 is not supported by this module yet.
    at BaseTag.getNextTag (D:\Projects\Colonial-Therapist\node_modules\mcnbt\lib\base_tag.js:269:13)
    at NBT.loadFromBuffer (D:\Projects\Colonial-Therapist\node_modules\mcnbt\nbt.js:28:29)
    at D:\Projects\Colonial-Therapist\node_modules\mcnbt\nbt.js:157:12
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)

I tried manually setting the int type in the tags.js file. Then it comes out similar but with id 75.

Mod repository link:
https://github.com/ldtteam/minecolonies/tree/1be0c6afa7ddd93c3ddfd17dff5653c9e468bcf0

https://github.com/ldtteam/minecolonies/blob/1be0c6afa7ddd93c3ddfd17dff5653c9e468bcf0/src/api/java/com/minecolonies/api/util/constant/NbtTagConstants.java

I couldn't find types there, I don't understand java.

NBTExplorer opens all three files correctly.

Thanks for the library
dat.zip
!

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