pocketmine\block\Slab::recalculateBoundingBox PHP Метод

recalculateBoundingBox() защищенный Метод

protected recalculateBoundingBox ( )
    protected function recalculateBoundingBox()
    {
        if (($this->meta & 0x8) > 0) {
            return new AxisAlignedBB($this->x, $this->y + 0.5, $this->z, $this->x + 1, $this->y + 1, $this->z + 1);
        } else {
            return new AxisAlignedBB($this->x, $this->y, $this->z, $this->x + 1, $this->y + 0.5, $this->z + 1);
        }
    }