Enum minecraft_json::minecraft::data::meta::McMeta [−][src]
pub enum McMeta { Pack { description: TextComponent, pack_format: i64, }, }
Expand description
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.
Variants
Holds the data pack information.
Show fields
Fields of Pack
description: TextComponent
A JSON text that appears when hovering over the data pack’s name in
the list given by the /datapack list
command, or when viewing the pack in the Create
World screen.
pack_format: i64
Pack version: If this number does not match the current required number, the data pack displays a warning and requires additional confirmation to load the pack.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more