lava movement

This commit is contained in:
GameHerobrine 2024-01-31 05:58:05 +03:00
parent f200683643
commit 0ca6becc6a
5 changed files with 51 additions and 68 deletions

View file

@ -36,18 +36,6 @@ class FallingSand extends Entity{
$y = floor($this->y);
$z = floor($this->z);
if($this->fallTime == 1){
/* i dont think this is needed here?
* if (this.worldObj.getBlockId(var1, var2, var3) != this.blockID)
{
this.setDead();
return;
}
this.worldObj.setBlockToAir(var1, var2, var3);
*/
}
if($this->onGround){
$this->speedX *= 0.7;
$this->speedZ *= 0.7;