Feature
- Implicitly convert sources into text components (
d27870e)
temp = Scoreboard("example.test")
block = Data.block("~ ~ ~")
tellraw @a temp["$value"]
tellraw @a [block.Text1, block.Text2, block.Text3]
tellraw @a ["values of a, b, c:", *temp["$a", "$b", "$c"]]
- Add
component method to convert sources into text components (returned as a dict object). Additional component fields can be provided as keyword arguments. (a22caf9)
temp = Scoreboard("example.test")
strg = Data.storage(example:test)
title @a actionbar [
"score: ", temp["@s"].component(bold=true),
"status: ", strg.status.component(color="blue")
]
tellraw @a strg.message.component(interpret=true)