boogeedoo / mcnbt Goto Github PK
View Code? Open in Web Editor NEWYet another Minecraft NBT format file / buffer parser for Node.js.
License: MIT License
Yet another Minecraft NBT format file / buffer parser for Node.js.
License: MIT License
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
I couldn't find types there, I don't understand java.
NBTExplorer opens all three files correctly.
Thanks for the library
dat.zip
!
Installing this package leads to this error:
npm ERR! code 1
npm ERR! path C:\Users\User\Desktop\test\node_modules\mcnbt
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c C:\Users\User\AppData\Local\Temp\postinstall-125135a6.cmd
npm ERR! 'rm' is not recognized as an internal or external command,
npm ERR! operable program or batch file.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Local\npm-cache\_logs\2022-12-29T08_36_16_662Z-debug-0.log
Are you sure you checked support for Windows? "rm" sounds like a linux command
Line 9 in 6bfcbe2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.