mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
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:
parent
d83161f3a8
commit
024e9ed504
3 changed files with 38 additions and 21 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue