EntityTypes Class

Used for accessing all entity types currently available for use within the world.

Methods

get

static "get"(identifier: string): EntityType | undefined

Retrieves an entity type using a string-based identifier.

Parameters

  • identifier: string

Returns EntityType | undefined

getAll

static getAll(): EntityType[]

Retrieves a set of all entity types within this world.

Returns EntityType[]