Used for accessing all entity types currently available for use within the world.
export class EntityTypes { private constructor(); static get<T = never>(identifier: EntityIdentifierType<NoInfer<T>>): EntityType | undefined; static getAll(): EntityType[];} Copy
export class EntityTypes { private constructor(); static get<T = never>(identifier: EntityIdentifierType<NoInfer<T>>): EntityType | undefined; static getAll(): EntityType[];}
Private
Static
Retrieves an entity type using a string-based identifier.
This function can't be called in early-execution mode.
Retrieves a set of all entity types within this world.
Used for accessing all entity types currently available for use within the world.
Source