File utils/blockutil.lua

Functions

blockutil.get_begin (x, y, z) Gets the begin coordinates of the block the given coordinates are in.
blockutil.get_end (x, y, z) Gets the end coordinates of the block the given coordinates are in.


Functions

blockutil.get_begin (x, y, z)
Gets the begin coordinates of the block the given coordinates are in.

Parameters

  • x: The x coordinate.
  • y: The y coordinate.
  • z: The z coordinate.

Return value:

The coordinates (x, y, z) of the block begin.
blockutil.get_end (x, y, z)
Gets the end coordinates of the block the given coordinates are in.

Parameters

  • x: The x coordinate.
  • y: The y coordinate.
  • z: The z coordinate.

Return value:

The coordinates (x, y, z) of the block end.

Valid XHTML 1.0!