SiliconGhetto Engine API
    Preparing search index...

    Function setBlockMeta

    • Place a block with metadata (e.g. color variant for wool, material for slabs).

      Parameters

      • x: number

        Block X coordinate

      • y: number

        Block Y coordinate

      • z: number

        Block Z coordinate

      • type: number

        Block type ID

      • meta: number

        Metadata value (meaning depends on block type)

      Returns number

      The previous block type at that position