pressure_plates

Module with structures to process data about pressure plates in Terraria worlds, out of which the main one is WorldWeightedPressurePlatesCollection.

world_weighted_pressure_plates_collection

class lihzahrd.terraria.world.pressure_plates.world_weighted_pressure_plates_collection.WorldWeightedPressurePlatesCollection(items: list[Item])

Bases: PackCountArray[WorldWeightedPressurePlate]

PackCountArray of all the Weighted Pressure Plates in a Terraria world.

ITEM

alias of WorldWeightedPressurePlate

world_weighted_pressure_plate

Submodule containing WorldWeightedPressurePlate.

class lihzahrd.terraria.world.pressure_plates.world_weighted_pressure_plate.WorldWeightedPressurePlate(value: Value)

Bases: PackPrimitive[WeightedPressurePlateData]

A WeighedPressurePlate that’s placed in a Terraria world.

weighted_pressure_plate_data

Submodule containing WeightedPressurePlateData.

class lihzahrd.terraria.world.pressure_plates.weighted_pressure_plate_data.WeightedPressurePlateData(position: Coordinates[int])

Data about a WeightedPressurePlate.

position: Coordinates[int]

The position of the pressure plate.