Function set_block

  • set_block(pos: Vec3d, id: string): void
  • Places a block at a position

    Remarks

    This uses /setblock replace, so any valid block_state will work

    Parameters

    • pos: Vec3d

      Position

    • id: string

      Block

    Returns void

Generated using TypeDoc