This PR would resolve issue #40 by adding the requested API (and the necessary methods for serialization/deserialization). By testing within Minecraft, I concluded that only plaintext can be used with the insertion API and not other JSON messages.
In addition, support for the with JSON tag is added. This tag can only be used in conjunction with a translate text tag. It will supply substitutions, potentially formatted, for the variables within the language-specific strings.
This PR would resolve issue #40 by adding the requested API (and the necessary methods for serialization/deserialization). By testing within Minecraft, I concluded that only plaintext can be used with the insertion API and not other JSON messages.
In addition, support for the
with
JSON tag is added. This tag can only be used in conjunction with atranslate
text tag. It will supply substitutions, potentially formatted, for the variables within the language-specific strings.