mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Added TileEntity::setText(1,2,3,4)
This commit is contained in:
parent
58fd67d2ed
commit
0d12039623
3 changed files with 33 additions and 22 deletions
|
|
@ -117,9 +117,9 @@ class EntityAPI{
|
|||
$item->count = min($item->getMaxStackSize(), $count);
|
||||
$count -= $item->count;
|
||||
$e = $this->add($pos->level, ENTITY_ITEM, $item->getID(), $data);
|
||||
//$e->speedX = mt_rand(-10, 10) / 100;
|
||||
//$e->speedY = mt_rand(0, 5) / 100;
|
||||
//$e->speedZ = mt_rand(-10, 10) / 100;
|
||||
$e->speedX = mt_rand(-10, 10) / 100;
|
||||
$e->speedY = mt_rand(0, 5) / 100;
|
||||
$e->speedZ = mt_rand(-10, 10) / 100;
|
||||
$this->spawnToAll($pos->level, $e->eid);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue