EntityTypeFamilyComponent Class

Extends

Methods

getTypeFamilies

getTypeFamilies(): string[]

Returns string[]

Warning

This function can throw errors.

hasTypeFamily

hasTypeFamily(typeFamily: string): boolean

Parameters

  • typeFamily: string

Returns boolean

Warning

This function can throw errors.

Constants

componentId

static read-only componentId = "minecraft:type_family";

Type: string