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

Despawn component not functional for custom mobs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.20.0
    • None
    • Unconfirmed
    • Multiple

      Custom mobs do not seem to despawn from any distance with the "despawn" component, I also noticed this occurs with other popular addons.

      This is the code included in the JSON behavior file, in the mobs' components.
       

       
      Expectation:
      Custom mobs with this component should despawn when all players are far enough from the mob.
       
      Result:
      Custom mobs with this component do not despawn seemingly forever.
       
       
       

            skywalker756 Tony Lysander
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: