Skip to content

Commit

Permalink
x(getX), y(getY), z(getZ)
Browse files Browse the repository at this point in the history
  • Loading branch information
enebo committed Jan 8, 2014
1 parent f8dda4c commit 30c01c2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/main/resources/bukkit/block/block.rb
Expand Up @@ -69,6 +69,24 @@ def world
getWorld
end

##
# x location of this block (Fixnum)
def x
getX
end

##
# y location of this block (Fixnum)
def y
getY
end

##
# z location of this block (Fixnum)
def z
getZ
end

##
# Which face relative to the supplied block would be visible?
# === Parameters
Expand Down

0 comments on commit 30c01c2

Please sign in to comment.