mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
simple entity registering, tested on pig, some classes were created, althrough they are still not implemented
This commit is contained in:
parent
e5abc85f94
commit
6a321aabe0
13 changed files with 116 additions and 4 deletions
|
|
@ -20,6 +20,8 @@
|
|||
*/
|
||||
|
||||
class Entity extends Position{
|
||||
const TYPE = -1;
|
||||
const CLASS_TYPE = -1;
|
||||
public $age;
|
||||
public $air;
|
||||
public $spawntime;
|
||||
|
|
@ -56,7 +58,6 @@ class Entity extends Position{
|
|||
public $check = true;
|
||||
public $size = 1;
|
||||
public $inAction = false;
|
||||
|
||||
function __construct(Level $level, $eid, $class, $type = 0, $data = array()){
|
||||
$this->level = $level;
|
||||
$this->fallY = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue