Crates.io | bird-chat |
lib.rs | bird-chat |
version | 0.1.3 |
source | src |
created_at | 2022-06-30 19:06:21.289844 |
updated_at | 2022-07-24 09:40:47.001347 |
description | Minecraft components on rust |
homepage | |
repository | |
max_upload_size | |
id | 616600 |
size | 22,549 |
bird-chat is implementation of minecraft chat components on rust with serde support.
https://crates.io/crates/bird-chat
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()
}
];