better movement in water, tnt will not fall through grass now

This commit is contained in:
GameHerobrine 2024-01-30 06:57:56 +03:00
parent 4b17edfc05
commit d622c5e5cf
5 changed files with 44 additions and 14 deletions

View file

@ -95,7 +95,6 @@ class ItemEntity extends Entity{
if($this->closed) return;
$friction = 0.98;
if($this->onGround){
$friction = 0.588;
$v3 = $this->level->level->getBlockID($this->x, floor($this->boundingBox->minY) - 1, $this->z);