Mojira Archive
MCPE-185250

no way to access tamedToPlayerId and tamedToPlayerId and isTamed. (script api)

sense tameable component get removed on tame, that leave us with no way to access tamedToPlayerId and tamedToPlayerId and isTamed. and all the other EntityTameableComponent properties.

code used to test:

world.afterEvents.playerInteractWithEntity.subscribe((event) => {
  const { player, target } = event;
  const t = target.getComponent("tameable").
  console.warn(t);
})

 

 

Unresolved

mohamed elmakhloufi

2024-08-13, 08:41 PM

2025-01-23, 10:54 AM

2

1

Community Consensus

1.21.60.27 Preview - 1.21.60.28 Preview1.21.60.27 Preview, 1.21.60.21 Preview, 1.21.30.22 Preview, 1.21.20, 1.21.50.29 Preview, 1.21.44 Hotfix, 1.21.60.25 Preview, 1.21.51 Hotfix, 1.21.60.28 Preview

-