Is possible create a parallelepiped from high,and wides? $xc = $sender->getX(); $yc = $sender->getY(); $zc = $sender->getZ(); $l = $args[0]/2; $l2 = $args[1]/2; $h = $args[2]/2; $level = $sender->getLevel(); for($x = $xc - $l; $x <= $xc + $l; $x++) { for($y = $yc - $l2; $y <= $yc + $l2; $y++) { for($z = $zc - $h; $z <= $zc + $h; $z++) { } } } I have tried the same code of a cube , but i do not understand why $h became the wides , and $l2 the $h ....