feat(renderer): add hardware occlusion culling for block entities
- Implemented HardwareOcclusionBlockEntityCuller with OpenGL query-based visibility detection
- Added BlockEntityCullingManager to handle registration and culling logic for block entities
- Integrated block entity culling into rendering pipeline via MixinBlockEntityRenderDispatcher
- Enhanced MixinLevelRenderer to process block entity queries after rendering phase
- Added support for distance-based query frequency adjustment and result batching
- Implemented proper resource management with query pool growth and cleanup routines
- Updated ClientClass to initialize and manage block entity culling system alongside entity culling
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }