【文件属性】:
文件名称:DaanV2.NBT.Net:用于读取和写入nbt文件数据的NBT库,支持小端或大端
文件大小:261KB
文件格式:ZIP
更新时间:2021-02-14 15:23:57
minecraft csharp dotnet nuget nbt
DaanV2-NBT.Net
一个NBT库,用于读写NBT文件/数据
用法
读取文件
Itag Compound = NBTReader . ReadFile ( " Path to file " , Endianness . LittleEndian , NBTCompression . Auto );
写入文件
ITag Tag ;
// Writes the tag to the specified file using GZIP compression and little-endian methods
NBTWriter . WriteFile ( " Path to file " , Tag , NBTCompression . Gzip , Endianness . LittleEndian );
// Writes the tag