Skip to content

Birdmc/bird-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()
  }
];

About

Minecraft components on rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages