EntityTameMountComponent
¶
文档版本:1.21.60.21
EntityTameMountComponent
类,扩展自EntityComponent
。script_api.minecraft/server.entitytamemountcomponent.description
常量¶
componentId
属性¶
isTamed
isTamed
:boolean
- script_api.minecraft/server.entitytamemountcomponent.istamed.description
isTamedToPlayer
isTamedToPlayer
:boolean
- script_api.minecraft/server.entitytamemountcomponent.istamedtoplayer.description
tamedToPlayer
tamedToPlayer
:Player
|undefined
- script_api.minecraft/server.entitytamemountcomponent.tamedtoplayer.description
tamedToPlayerId
tamedToPlayerId
:string
|undefined
- script_api.minecraft/server.entitytamemountcomponent.tamedtoplayerid.description
方法¶
tame
script_api.minecraft/server.entitytamemountcomponent.tame.description
showParticles
:boolean
- script_api.minecraft/server.entitytamemountcomponent.tame.showparticles.description
- 返回值:
void
- script_api.minecraft/server.entitytamemountcomponent.tame.return
tameToPlayer
script_api.minecraft/server.entitytamemountcomponent.tametoplayer.description
showParticles
:boolean
- script_api.minecraft/server.entitytamemountcomponent.tametoplayer.showparticles.description
- 返回值:
boolean
- script_api.minecraft/server.entitytamemountcomponent.tametoplayer.return