Skip to content
Back to top
View this page

# `classenums`

Module for ClassEnum.

## `block_enum`

Submodule for `BlockEnum`.

class lihzahrd.terraria.data.classenums.block_enum.BlockEnum(name: str, bases: tuple[type, ...], namespace: dict[str, Any], *, register: bool = True, **kwargs: Any)

  A ClassEnum tracking the kinds of blocks existing in the world.

## `wall_enum`

Submodule for `WallEnum`.

class lihzahrd.terraria.data.classenums.wall_enum.WallEnum(name: str, bases: tuple[type, ...], namespace: dict[str, Any], *, register: bool = True, **kwargs: Any)

  A ClassEnum tracking the kinds of walls existing in the world.

## `item_enum`

Submodule for `ItemEnum`.

class lihzahrd.terraria.data.classenums.item_enum.ItemEnum(name: str, bases: tuple[type, ...], namespace: dict[str, Any], *, register: bool = True, **kwargs: Any)

  A ClassEnum tracking the kinds of items existing in inventories.

## `npc_enum`

Submodule for `NPCEnum`.

class lihzahrd.terraria.data.classenums.npc_enum.NPCEnum(name: str, bases: tuple[type, ...], namespace: dict[str, Any], *, register: bool = True, **kwargs: Any)

  A ClassEnum tracking the kinds of NPCs existing in the world.

## `prefix_enum`

Submodule for `PrefixEnum`.

class lihzahrd.terraria.data.classenums.prefix_enum.PrefixEnum(name: str, bases: tuple[type, ...], namespace: dict[str, Any], *, register: bool = True, **kwargs: Any)

  A ClassEnum tracking the kinds of prefixes existing in items in inventories.

## `liquid_enum`

Submodule for `LiquidEnum`.

class lihzahrd.terraria.data.classenums.liquid_enum.LiquidEnum(name: str, bases: tuple[type, ...], namespace: dict[str, Any], *, register: bool = True, **kwargs: Any)

  A ClassEnum tracking the kinds of liquids existing in the world.