Class Block

Defines a block within a Mod.

Block

Hierarchy (view full)

Constructors

Properties

defaultState: StateIdBase

The default BlockState for this block.

Memberof

Block

id: string

The unique id for this block.

Memberof

Block

parentMod: Mod

The Mod instance that contains this block.

Memberof

Block

states: Map<any, any>

The list of BlockStates for this block.

Memberof

Block

written: boolean

Methods

  • Returns the identifier for the default BlockState within this block.

    Returns string

    Memberof

    Block

  • Returns the full id for this block within its parent Mod.

    Returns string

    Memberof

    Block

Generated using TypeDoc