The EntityTameMountComponent class in @minecraft/server.
Class in @minecraft/server
Extends EntityComponent
import { EntityTameMountComponent } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”isTamed
Section titled “isTamed”read-only
readonly isTamed: boolean;isTamedToPlayer
Section titled “isTamedToPlayer”read-only
readonly isTamedToPlayer: boolean;tamedToPlayer
Section titled “tamedToPlayer”read-only optional
readonly tamedToPlayer?: Player;Types
tamedToPlayerId
Section titled “tamedToPlayerId”read-only optional
readonly tamedToPlayerId?: string;componentId
Section titled “componentId”static read-only
static readonly componentId = 'minecraft:tamemount';Methods
Section titled “Methods”tame(showParticles: boolean): void;Parameters
showParticlesboolean
tameToPlayer
Section titled “tameToPlayer”tameToPlayer(showParticles: boolean, player: Player): boolean;Parameters
showParticlesbooleanplayerPlayer
Returns
booleanTypes