Entity Culling Fabric/Forge

Entity Culling Fabric/Forge

80M Downloads

[1.16.5-1.18] RenderBoundingBox of BlockEntity is ignored for culling

TimeConqueror opened this issue ยท 2 comments

commented

Right now EntityCulling considers the render bounding box of any BlockEntity as a single block with AABB(0;0;0->1;1;1). click

This breaks the compatibility with some mods with blockentities which are rendered as multiblocks (where the one renders others).
I have a mod called LootGames, which has the Minesweeper Minigame. The master block of this game which renders the whole game board is hidden in the corner under the walls. It has an infinite AABB for rendering purpose [click], so it needs to be rendered wherever the player is.

image

commented

It's been a while since I worked on the mc side of the code, but I think I just either didn't know or overlooked that BlockEntities do have a render bounding box too. Will look into fixing this.