https://github.com/justalittlewolf/culldisplayentities
Calculates a visibility-boundingbox for displayentities, so they can be culled.
https://github.com/justalittlewolf/culldisplayentities
Last synced: 3 months ago
JSON representation
Calculates a visibility-boundingbox for displayentities, so they can be culled.
- Host: GitHub
- URL: https://github.com/justalittlewolf/culldisplayentities
- Owner: JustAlittleWolf
- License: other
- Created: 2024-12-07T15:35:12.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2025-01-19T15:45:35.000Z (5 months ago)
- Last Synced: 2025-02-07T17:45:05.241Z (4 months ago)
- Language: Java
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Cull Display Entities
Implements visibility bounding boxes for Display Entities.
Minecraft uses [Frustum Culling](https://en.wikipedia.org/wiki/Viewing_frustum), which in simple terms hides things that are behind the camera.
However, by default, blockdisplayentities have this enabled, when the "width" and "height" tag are not set.
Because most servers don't set this property when using blockdisplayentities, this means that they won't get culled, when behind the camera. This
mod fixes that issue, by calculating the bounding box for each blockdisplayentity. This also has the effect of culling the entities when
using [Entity Culling](https://modrinth.com/mod/entityculling).In some cases blockdisplayentities might be culled incorrectly, if the model displayed too large.