EntityTypeFamilyComponent
¶
文档版本:1.21.60.21
EntityTypeFamilyComponent
类,扩展自EntityComponent
。script_api.minecraft/server.entitytypefamilycomponent.description
常量¶
componentId
方法¶
getTypeFamilies
script_api.minecraft/server.entitytypefamilycomponent.gettypefamilies.description
- 返回值:
string[]
- script_api.minecraft/server.entitytypefamilycomponent.gettypefamilies.return
hasTypeFamily
script_api.minecraft/server.entitytypefamilycomponent.hastypefamily.description
typeFamily
:string
- script_api.minecraft/server.entitytypefamilycomponent.hastypefamily.typefamily.description
- 返回值:
boolean
- script_api.minecraft/server.entitytypefamilycomponent.hastypefamily.return