Tile - YWorld - Get All Entities – Ylands
Jump to navigation
Jump to search
Get All Entities()
static getAllEntities(): YEntity[];
Returns
YEntity[] Returns an array of all entities placed in the game.
Availability
Description
Returns an array of all entities placed in the game.
Get All Entities(Type)
static getAllEntitiesOfType(type: YEntityType): YEntity[];
Parameters
type
Returns
YEntity[] Returns an array of all entities placed in the game, of the selected entity type.
Availability
Description
Returns an array of all entities placed in the game, of the selected entity type.
Get All Entities(Class)
static getAllEntitiesOfClass(tag: YTag): YEntity[];
Parameters
tag
Returns
YEntity[] Returns an array of all entities placed in the game, of the selected class.
Availability
Description
Returns an array of all entities placed in the game, of the selected class.