# BlockPos

Represents a block position.

# Constructor:

PluginAPI.contructors.BlockPos({x: Integer, y: Integer, z: Integer})

Has all of the properties and methods of Vec3i

Has the following methods:

  • add(x: Integer, y: Integer, z: Integer) : BlockPos
  • up(n: Integer) : BlockPos
  • down(n: Integer) : BlockPos
  • north(n: Integer) : BlockPos
  • south(n: Integer) : BlockPos
  • east(n: Integer) : BlockPos
  • west(n: Integer) : BlockPos
  • getBlock() : Block
Last Updated: 9/10/2023, 2:06:35 PM