Storage Drawers

Storage Drawers

151M Downloads

Tile entity renderer performance. Concealment Key no longer exists.

Kynolin opened this issue ยท 0 comments

commented

I noticed today that the call listed below is utilizing around 12-13% of the render thread when looking at my base which contains a decent number of storage drawers.

com.jaquadro.minecraft.storagedrawers.client.renderer.TileEntityDrawersRenderer.render()

Tile entities were 45% of my render, so 12% is very significant. The second highest mod was at 8%. I was originally thinking it was fancy shaders and my friend's all-glass/glowstone base next to mine, but even with shaders disabled and graphics very low, I was hovering around 70-80 FPS on an Intel 8700k at 5GHz with a 2080 Ti. The limitation is one maxed out CPU thread, not the GPU. If I looked slightly away from my base, I'd easily be 130+.

More to the point: After searching around, some answers mentioned the Concealment Key which could remove the item displayed on the drawers and reduce the amount of tile entities that must be rendered. This item looks to be commented out as of commit 4b77916 (2019-08-19). Is there a plan for the Concealment Key to make a return eventually, or is there another method that could help remove the tile entities?

I've always loved the storage drawers, especially with the icons/quantities, but I'm guessing right now that "out of sight, out of render process" might be the best option?

I'm using StorageDrawers-1.15.2-7.0.2 which is part of the FTB Omnia 1.5.0 modpack. I also use GraalVM 11 and Optifine 1.15.2 pre-24 and have tried with shaders and high graphics or no shaders and low graphics. We probably have about 50 storage drawers scattered about our base, with probably at least half to 2/3 being single item drawers. It's been awesome having Storage Drawers on 1.15.2, and it would be even better if we could go disable the icons on the drawers we don't actually interact with manually ourselves.

I also just want to throw in a big thank you for this mod. It's always one of the very first we appreciate to see in a modpack.