small tweaks to knockback and to motion update system. might cause some bugs with arrows(were buggy before anyway), falling blocks, tnt and other non-static objects

This commit is contained in:
GameHerobrine 2022-10-17 17:53:17 +03:00
parent d83161f3a8
commit 024e9ed504
3 changed files with 38 additions and 21 deletions

View file

@ -1,5 +1,11 @@
<?php
abstract class Living extends Entity implements Damageable, Pathfindable{
public function __construct($level, $eid, $class){
parent::__construct($level, $eid, $class);
$this->canBeAttacked = true;
}
public function getPathfinder(){ //Placeholder
return $this->pathFinder;
}