added some new mobs

This commit is contained in:
GameHerobrine 2023-02-21 18:54:20 +03:00
parent 5fdf1f6b75
commit d5d634b6fb
9 changed files with 111 additions and 1 deletions

View file

@ -0,0 +1,13 @@
<?php
class Villager extends Neutral //TODO AI
{
const TYPE = MOB_VILLAGER;
public function __construct(Level $level, $eid, $class, $type = 0, $data = []){
$this->setSize(0.6, 1.8);
$this->setSpeed(0.3);
$this->setName("Villager");
parent::__construct($level, $eid, $class, $type, $data);
}
}