Sync icon indicating copy to clipboard operation
Sync copied to clipboard

Tile entities not rendering properly with Entity Culling

Open Meldexun opened this issue 5 years ago • 0 comments

Entity Culling does not call TileEntity#shouldRenderInPass(int) right before rendering the tile entity. Instead that method is called earlier for both rendering passes and the tile entity is added to up to 2 lists. Later on all tile entities in these lists will be rendered. Thus the BlockDualVertical.renderPass field is not set before rendering the tile entity. Can be fixed by calling MinecraftForgeClient#getRenderPass() to retrieve the current render pass when a tile entity is rendered.

Meldexun avatar Dec 15 '20 21:12 Meldexun