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

Entity Model Disappears Despite "never_despawn: true" in Components

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.20.15 Hotfix
    • Unconfirmed
    • Multiple

      When using this code in components of an entity, for example a spider

       

         "minecraft:tick_world":{   
           "never_despawn": true 

       

      As per the "never_despawn: true" setting, the entity should persist in the world indefinitely, and its model or appearance should always be visible. However, I've observed that the entity's model or appearance still disappears after moving a certain distance, even with "never_despawn: true" enabled.

      It appears that there may be a missing value or parameter to specify the entity's render distance or visibility range. In theory, with "never_despawn: true" set, the entity's appearance should remain visible or there should be a new value in the code to define its render distance, ensuring it doesn't disappear prematurely.

       

      Steps to Reproduce:
      1. Create a world.

      2. Add the addon that includes the modified entity definition.

       

      3. Notice that a spider entity spawns and moves away from the player by more than 64 blocks.

       Observed Result:

      that the entity's model or appearance disappears despite having the "minecraft:tick_world" setting "never_despawn: true."

       

      Expected Result:

      With "never_despawn: true" enabled in the "minecraft:tick_world" section of the addon's entity definition, the entity's model or appearance should persist and remain visible within a specified render distance, rather than disappearing after a short distance.

       

      This issue affects gameplay and should be addressed to ensure that entities with "never_despawn" enabled within an addon's entity definition behave as expected in terms of their model's visibility. Additionally, it's recommended to introduce a value to define the render distance for the entity's appearance.

            Flizer Flizer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: