Module lobsterchat::component
source · [−]Expand description
Main module containing all the component related things
Structs
The JSON chat component container
Note that the components are immutable, an they are cloned
each time they are modified.
A container for entity data to be displayed
See wiki.vg for more info.
A container for item data to be displayed
See wiki.vg for more info.
Entity based message
Keybind based message
NBT based message
Scoreboard message
Translatable message
Enums
Container for click events
See wiki.vg for more info.
Type of formatting for component
Container for component hover events.
See wiki.vg for more info.
Container for inner contents of a component
A named color
A text color formatting
Traits
This trait allows you to convert an object into a component
by passing it as reference
A trait to color the components more easily