Microblocks and lag

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Sawney

New Member
Jul 29, 2019
97
0
0
Do micro blocks cause lag? I've never used them to give my house wood paneling before and wanted to know if it would cause a problem before I placed hundreds of them in a single chunk.
 

ratchet freak

Well-Known Member
Nov 11, 2012
1,198
243
79
tile entities are always rendered if you look in there general direction, solid walls don't prevent them from being drawn

so expect some FPS lag if your PC isn't up for the task
 
  • Like
Reactions: Sawney

jaquadro

New Member
Jul 29, 2019
182
-13
0
TileEntities are not necessarily rendered with TileEntitySpecialRenderers. The machines in RotaryCraft are complex and animated so they are rendered every frame by a TESR. The modular pots and plant "microblocks" in my Garden Stuff mods, on the other hand, render everything statically with ISimpleBlockRenderHandlers. Those only get run when the chunk needs to re-render (which by the way, also renders stuff you can't see -- notice how you could always see caves when a chunk failed to load?)

If you're using the microblocks from ForgeMultipart, it looks like they do both. They have a static and dynamic render part. The code is in Scala and really hard for me to follow, so I can't say much more beyond that. I think the multiblocks themselves are rendered statically and the dynamic portion is to interop with dynamically-rendered blocks. But even if nothing dynamic is rendered, there's going to be some overhead processing involved to check that and skip it.

However TileEntities are rendered, one thing that's universal is they carry a lot more data overhead than a normal block, which must be saved, loaded, and pushed over a network. Spam enough of them and you will feel it, even if it's not in the render code.
 

rhn

Too Much Free Time
Nov 11, 2013
5,706
4,420
333
Compared to machines, automation and magic stuff, I really dont think you need to worry about microblocks killing your FPS. I am a big time user of microblocks and Carpenter's blocks and it is always the machines that kills the fps in the end.