mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
added some new mobs
This commit is contained in:
parent
5fdf1f6b75
commit
d5d634b6fb
9 changed files with 111 additions and 1 deletions
13
src/entity/neutral/Villager.php
Normal file
13
src/entity/neutral/Villager.php
Normal 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);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue