mojira.dev
MCPE-174848

Entity Model Disappears Despite "never_despawn: true" in Components

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.

Attachments

Comments 2

Thank you for your report!

However, this issue has been closed as Working as Intended.

Mobs are not being rendered past 64 blocks, regardless of their despawn rules.

If you need help or have a suggestion you might like to follow a link below.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📓 Project Summary – 📧 Suggestions – 📖 Minecraft Wiki

However, this restricts visibility, while the Ender Dragon has unlimited visibility. In previous updates like 1.18, you could use 'runtime_identifier': 'minecraft:ender_dragon' in a specific entity to make it visible from a long distance, like a dragon. But in recent updates, this feature was removed, even though it didn't cause any issues when making an entity visible from afar.

Flizer

(Unassigned)

Unconfirmed

Multiple

entity-model

1.20.15 Hotfix

Retrieved