Module minecraft_json::minecraft::data::meta[][src]

Expand description

pack.mcmeta files.

assert_equiv_pretty!(r#"{
  "pack": {
    "description": "Some example description.",
    "pack_format": 6
  }
}"#, McMeta::Pack {
    description: TextComponent::RawTextLike(StringLike::String(
        "Some example description.".to_string())),
    pack_format: pack_format::VER_6,
});

Modules

pack_format

Known pack_format field for McMeta.

Enums

McMeta

A data pack is identified by Minecraft based on the presence of the pack.mcmeta file in the root directory of the data pack, which contains data in JSON format.