Module minecraft_json::minecraft::text [−][src]
Expand description
Structs
ClickEvent | Event upon mouse click on this text component. |
Entity | The entity that should be displayed by |
Formatting | Formatting properties for a |
HexColour | Hexadecimal colours. |
Interactivity | Interactivity properties for a |
Item | The item that should be displayed by |
LegacyEntity | The entity that should be displayed by |
Score | Displays a score from the scoreboard. Requires component resolution. This component is resolved into a text component containing the scoreboard value. |
TextComponentTags | Common properties for |
Enums
ClickEventAction | Action performed upon a |
Colour | Text colours, either pre-defined or custom hexadecimal colours. |
ColourName | Pre-defined colour names. |
HoverEvent | Event upon mouse hover on this text component. |
StringLike | A string containing plain text to display directly. Can also be a number or boolean that is displayed directly. |
TextComponent | Raw JSON text is made up of text components. There is a single root component, which can have child components, which can have their own children and so on. Components can also have formatting and interactivity added to them, which is inherited by their children. |
ValueOrContents | Part of |