Represents information about a type of entity.
export class EntityType { private constructor(); readonly id: string; readonly localizationKey: string;} Copy
export class EntityType { private constructor(); readonly id: string; readonly localizationKey: string;}
Private
Readonly
Identifier of this entity type - for example, 'minecraft:skeleton'.
This property can't be read in early-execution mode.
Key for the localization of this EntityType's name used in .lang files.
Represents information about a type of entity.
Source