Module: Bukkit::BlockChangeDelegate

Defined in:
lib/bukkit/block_change_delegate.rb

Overview

A delegate for handling block changes. This serves as a direct interface between generation algorithms in the server implementation and utilizing code.

Instance Method Summary collapse

Instance Method Details

#empty?(x, y, z) ⇒ Boolean Also known as: isEmpty

Checks if the specified block is empty (air) or not.

Parameters:

  • x (Numeric)

    X coordinate

  • y (Numeric)

    Y coordinate

  • z (Numeric)

    Z coordinate

Returns:

  • (Boolean)


19
# File 'lib/bukkit/block_change_delegate.rb', line 19

def empty?(x, y, z); end

#heightInteger Also known as: getHeight

Gets the height of the world.

Returns:

  • (Integer)

    Height of the world



11
# File 'lib/bukkit/block_change_delegate.rb', line 11

def height; end