bird-chat

Crates.iobird-chat
lib.rsbird-chat
version0.1.3
sourcesrc
created_at2022-06-30 19:06:21.289844
updated_at2022-07-24 09:40:47.001347
descriptionMinecraft components on rust
homepage
repository
max_upload_size
id616600
size22,549
(Jenya705)

documentation

README

bird-chat

bird-chat is implementation of minecraft chat components on rust with serde support.

Installing

https://crates.io/crates/bird-chat

Usage

let mut component = TextComponent::new("hi".into());
component.base.bold = Some(true);
component.base.color = Some(DefaultColor::Red.into());
component.base.extra = vec![
  {
    let mut component = TextComponent::new("bye".into());
    component.base.color = Some(DefaultColor::White.into());
    component.base.bold = Some(false);
    component.into()
  }
];
Commit count: 0

cargo fmt