Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Text ¶
type Text struct { Text string `json:"text,omitempty"` Bold bool `json:"bold,omitempty"` Italic bool `json:"italic,omitempty"` UnderLined bool `json:"underlined,omitempty"` StrikeThrough bool `json:"strikethrough,omitempty"` Obfuscated bool `json:"obfuscated,omitempty"` Color string `json:"color,omitempty"` Translate string `json:"translate,omitempty"` With []json.RawMessage `json:"with,omitempty"` Extra []Text `json:"extra,omitempty"` }
Text represents the custom JSON text format in Minecraft. TODO: Add options to make creating this type of text simple.
Click to show internal directories.
Click to hide internal directories.