Skip to main content

LockerChamber

class ThaumielMapEditor.API.Blocks.ServerObjects.Lockers

Represents a single chamber configuration for a locker. A locker may contain multiple chambers, each with permissions and item spawn definitions.

Overview​

Properties​

NameTypeAccessDescription
DataList<ChamberData>get setGets or sets the Item spawn definitions for this chamber. Each ThaumielMapEditor.API.Blocks.ServerObjects.Lockers.ChamberData entry describes an item type, its spawn probability, and the quantity to spawn.
IndexUInt32get setGets or sets the zero-based index of this chamber within the parent locker.
PermissionsDoorPermissionFlagsget setGets or sets the Permissions that control which players or roles can open or interact with this chamber.

Properties​

Data​

Type: List<ChamberData> Access: get set

Gets or sets the Item spawn definitions for this chamber. Each ThaumielMapEditor.API.Blocks.ServerObjects.Lockers.ChamberData entry describes an item type, its spawn probability, and the quantity to spawn.


Index​

Type: UInt32 Access: get set

Gets or sets the zero-based index of this chamber within the parent locker.


Permissions​

Type: DoorPermissionFlags Access: get set

Gets or sets the Permissions that control which players or roles can open or interact with this chamber.