The Twilight Forest

The Twilight Forest

143M Downloads

Naga tail segments vanish when the head is offscreen

Benimatic opened this issue ยท 0 comments

commented

Due to rendering changes since 1.7.10, the naga tail segments do not render if the chunk containing the head is culled.

Some ideas about solutions:
a) Spawn and track the segments as additional entities
Pros:
- Might be necessary anyways to make the segments properly attackable again
- This solution works "with" the current rendering engine instead of around it
Cons:
- Additional memory/network overhead for a full entity
- May require rewriting code related to animating the segments
- Need to reconnect with the head on re-serialization

b) Add in a render event where if the player is engaged with the naga it automatically renders all the segments
Pros:
- Might be necessary to add this for larger bosses like the hydra, so we may need this anyways
Cons:
- Might need to add code to make sure things aren't rendered twice