mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
attackEntity method was added
This commit is contained in:
parent
89ee29a30a
commit
45b36cb034
4 changed files with 50 additions and 40 deletions
|
|
@ -189,6 +189,10 @@ class Entity extends Position
|
|||
return in_array($this->type, func_get_args());
|
||||
}
|
||||
|
||||
public function attackEntity($entity){
|
||||
|
||||
}
|
||||
|
||||
public function addVelocity($vX, $vY = 0, $vZ = 0)
|
||||
{
|
||||
if($vX instanceof Vector3){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue