Skip to content
Back to top
View this page

# `signs`

Module with structures to process Terraria worlds’ signs and their text, out of which the main one is `lihzahrd.terraria.world.signs.world_signs_collection.WorldSignsCollection`.

## `world_signs_collection`

Submodule containing `WorldSignsCollection`.

class lihzahrd.terraria.world.signs.world_signs_collection.WorldSignsCollection(items: list[Item])

  Bases: `PackCountArray`[`WorldSign`]

  `PackCountArray` of all the readable blocks (signs) in a Terraria world.

  ITEM

    alias of `WorldSign`

## `world_sign`

Submodule containing `WorldSign`.

class lihzahrd.terraria.world.signs.world_sign.WorldSign(value: Value)

  Bases: `PackPrimitive`[`WorldSignData`]

  `PackPrimitive` to process a readable block (a sign) in a Terraria world.

## `world_sign_data`

Submodule containing `WorldSignData`.

class lihzahrd.terraria.world.signs.world_sign_data.WorldSignData(text: str, position: Coordinates)

  Data about a readable block (a sign).

  text: str

    The displayed text.

  position: Coordinates

    The position of the block which displays the text.