Search
Preparing search index...
The search index is not available
voxelservercore
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"src/lib/world/entity"
Entity
Class Entity
Hierarchy
Entity
Implements
IEntity
Index
Constructors
constructor
Properties
_entities
chunk
chunkID
data
id
tick
type
world
Methods
getID
get
Object
move
remove
rotate
teleport
Constructors
constructor
new
Entity
(
id
:
string
, type
:
string
, data
:
EntityData
, world
:
World
, tick
:
Function
|
null
, entitymanager
:
EntityManager
)
:
Entity
Parameters
id:
string
type:
string
data:
EntityData
world:
World
tick:
Function
|
null
entitymanager:
EntityManager
Returns
Entity
Properties
_entities
_entities
:
EntityManager
chunk
chunk
:
Chunk
chunkID
chunkID
:
types.XZ
data
data
:
EntityData
Readonly
id
id
:
string
tick
tick
:
Function
|
null
Readonly
type
type
:
string
world
world
:
World
Methods
getID
getID
(
)
:
string
Returns
string
get
Object
get
Object
(
)
:
IEntityObject
Returns
IEntityObject
move
move
(
pos
:
types.XYZ
)
:
void
Parameters
pos:
types.XYZ
Returns
void
remove
remove
(
)
:
void
Returns
void
rotate
rotate
(
rot
:
number
, pitch
:
number
)
:
void
Parameters
rot:
number
pitch:
number
Returns
void
teleport
teleport
(
pos
:
types.XYZ
, eworld
:
World
|
string
)
:
void
Parameters
pos:
types.XYZ
eworld:
World
|
string
Returns
void
Globals
"src/lib/world/entity"
Entity
constructor
_entities
chunk
chunkID
data
id
tick
type
world
getID
get
Object
move
remove
rotate
teleport
Entity
Data
IEntity
IEntity
Object
Generated using
TypeDoc