Documentation
¶
Overview ¶
Package minecraft contains a Transformer implementation for the JSON specification of minecraft format strings see https://minecraft.gamepedia.com/Raw_JSON_text_format for a full look at the format itself
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transformer ¶
type Transformer struct{}
Transformer implements the transformer interface for Minecraft 1.8+ JSON formatting. The implementation is one way, ie, intermed -> minecraft. minecraft -> intermed simply escapes all sentinels
func (Transformer) MakeIntermediate ¶
func (Transformer) MakeIntermediate(in string) string
MakeIntermediate just returns the given strings escaped, as MineCraft servers dont output formatted strings ever
func (Transformer) Transform ¶
func (Transformer) Transform(in string) string
Transform implements the transformer interface for Minecraft servers.
Click to show internal directories.
Click to hide internal directories.