lihzahrd.npcs

class lihzahrd.npcs.NPC(type_: lihzahrd.enums.entitytype.EntityType, position: lihzahrd.fileutils.coordinates.Coordinates, name: str, variation_index: int, home: Optional[lihzahrd.fileutils.coordinates.Coordinates] = None)

A NPC somewhere in the world.

home

The coordinates of the home of this NPC, or None if the NPC is homeless.

name

The name of this NPC.

position
type
variation_index

//terraria.gamepedia.com/Zoologist) form?

Type

(Unknown) Possibly the current Zoologist (https

class lihzahrd.npcs.Mob(type_: lihzahrd.enums.entitytype.EntityType, position: lihzahrd.fileutils.coordinates.Coordinates)

A Mob somewhere in the world.

position

The position of the mob in the game world.

type

The type of entity this object represents.