Crate nbtrock

source ·
Expand description

读取与生成基岩版NBT结构

§Example

读取NBT并打印

use crate::*;
fn read_example() -> IResult<()> {
    println!(
        "{}",
        NBT::from_path(Path::new("res/gold_farm.mcstructure"))?
    );
    Ok(())
}

Structs§

  • 表示一个NBT结构及名称

Enums§

Type Aliases§