mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
rewritten pumpkin and melon growth, fixed new world generation
This commit is contained in:
parent
37e2919f46
commit
756c597e47
4 changed files with 149 additions and 70 deletions
|
|
@ -118,7 +118,7 @@ class Entity extends Position
|
|||
|
||||
public $moveStrafing, $moveForward;
|
||||
|
||||
function __construct(Level $level, $eid, $class, $type = 0, $data = [])
|
||||
public function __construct(Level $level, $eid, $class, $type = 0, $data = [])
|
||||
{
|
||||
$this->random = new XorShift128Random();
|
||||
$this->last = [&$this->lastX, &$this->lastY, &$this->lastZ, &$this->lastYaw, &$this->lastPitch, &$this->lastTime]; //pointers to variables
|
||||
|
|
@ -202,6 +202,7 @@ class Entity extends Position
|
|||
$this->outOfWorld();
|
||||
}
|
||||
}
|
||||
|
||||
public function handlePrePlayerSearcher(){
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue