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

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

protected recalculateBoundingBox ( )
    protected function recalculateBoundingBox()
    {
        $f = (1 + $this->getDamage() * 2) / 16;
        return new AxisAlignedBB($this->x + $f, $this->y, $this->z + 0.0625, $this->x + 1 - 0.0625, $this->y + 0.5, $this->z + 1 - 0.0625);
    }