mojira.dev
MC-273361

Entities teleported to the player from a force loaded chunk are not rendered

Entities teleported to the player from chunks loaded with /forceload are not rendered. They still produce sounds but their hitbox and model do not exist. Relogging or leaving the area and returning causes the entity to render correctly. If leaving the chunk, you have to walk/fly away and return. Teleporting away and teleporting back does not cause the entity to render.

What I expected to happen was...:
The entity teleported to the player should be rendered normally.

What actually happened was...:
The entity is not rendered to the player, however the entity still produces sounds. The entity is also able to move around, and the AI functions normally. It is just invisible to the player, and the hitbox is not present.

Steps to Reproduce:

  1. Forceload a chunk with an entity in it.

  2. Tag the entity.

  3. Move about 500 blocks away from the forceloaded chunk.

  4. Teleport the tagged entity to you using "/execute as @e[tag=<tag>] run tp @s ~ ~ ~"

  5. The entity is teleported, but is not rendered.

 

Linked issues

Comments 3

To add to this: entities teleported from forceloaded chunks in other dimensions ARE rendered properly

eg: Cow in a forceloaded chunk in the nether, that's teleported to the player in the overworld is rendered normally

I can also confirm this.

maybejake

Shugoh

Community Consensus

Platform

Very Important

Commands, Networking, Player

1.21

24w33a

Retrieved