NotoSide
            using SilverNBTLibrary;

NBTTagCompound compound = new NBTTagCompound();
compound.Add("myName", "Jhon Smith");
compound.Add("age", 19);
compound.Add("sex", "man");
compound.Add("from", "university");
compound.Add("married", false);

NBTFile.SaveToFile(@"MyData", compound, false);

Console.WriteLine(NBTFile.ToJson(compound));
            
        

想像を瞬時に形に

Minecraftでの活動を助ける

汎用データフォーマットとして

機能 Silver NBT Library (for C# or VB.NET) Silver NBT (for Java) Silver NBT (for JavaScript)
NBT format I/O ×
JSON I/O
World I/O × ×
Schematic ×
Raw JSON Text Builder × ×
Version 1.5.0.0 1.0.0
Download Silver NBT Library Silver NBT

Examples

            using SilverNBTLibrary;

//Save
NBTTagCompound tag = new NBTTagCompound();
tag.Add("time", 128);
NBTFile.SaveToFile(@"date.dat", tag);

//Load
NBTTagCompound compound = NBTFile.LoadToStreamForZip(File.OpenRead(@"C:\Users\test.dat"));
Console.WriteLine(compound.GetInt("time"));

//Edit
compound.GetTagInt("time").Value = 20;
            
        

使用者の声

Noto (C) 2017