Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-185250

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.60.21 Preview, 1.21.30.22 Preview, 1.21.20, 1.21.50.29 Preview, 1.21.44 Hotfix
    • None
    • Community Consensus
    • Multiple

      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);
      })

       

       

            Minatocraft mohamed elmakhloufi
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: