Skip to main content

NbtComponent

Type Alias NbtComponent 

Source
pub type NbtComponent = Component<Value>;

Aliased Type§

pub enum NbtComponent {
    Text(String),
    Sequence(ComponentSequence<Value>),
    Object(Box<ComponentObject<Value>>),
}

Variants§

§

Text(String)

The string shorthand for a plain-text component.

§

Sequence(ComponentSequence<Value>)

The non-empty list shorthand.

§

Object(Box<ComponentObject<Value>>)

A full component object.