Skip to content

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 00:17
· 103 commits to main since this release

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)