EnhancedBlockEntities icon indicating copy to clipboard operation
EnhancedBlockEntities copied to clipboard

1.21.8

Open GodReza opened this issue 3 months ago β€’ 28 comments

hi, when should we expect to get an update for 1.21.8 release directly in modrinth?

GodReza avatar Aug 31 '25 15:08 GodReza

There are no ETAs

Joni-Origami avatar Aug 31 '25 16:08 Joni-Origami

hi, when should we expect to get an update for 1.21.8 release directly in modrinth?

In later versions of Minecraft the Render API has changed and the chest base get rendered directly in the chunk mesh, and the lid gets its own little EntityBlockRenderer. This is basically what this mod does. So all these optimizations have basically been implemented natively. No need to use this mod in later versions of Minecraft. If you look for similar gains as EBE used to provide in older versions of Minecraft look into FastChestRevived. Which renders the whole chest in the chunk mesh bypassing EntityBlockRenderer completely (this removes all animations though)

ceeden avatar Sep 08 '25 20:09 ceeden

thanks for full information and explaining bro, much appreciated πŸ™πŸ»πŸ”₯

GodReza avatar Sep 09 '25 06:09 GodReza

hi, when should we expect to get an update for 1.21.8 release directly in modrinth?

In later versions of Minecraft the Render API has changed and the chest base get rendered directly in the chunk mesh, and the lid gets its own little EntityBlockRenderer. This is basically what this mod does. So all these optimizations have basically been implemented natively. No need to use this mod in later versions of Minecraft. If you look for similar gains as EBE used to provide in older versions of Minecraft look into FastChestRevived. Which renders the whole chest in the chunk mesh bypassing EntityBlockRenderer completely (this removes all animations though)

I just tested it in the latest snapshot in a flat world with a 32x32x32 cube of chests. And it seems that's not quite the case; it seems that Mojang hasn't optimized it to the point of rendering Ebe useless, as there is still a huge drop in performance.

seriousfreezing avatar Sep 09 '25 16:09 seriousfreezing

well, what about an update then?πŸ˜‚πŸ˜‚

GodReza avatar Sep 09 '25 17:09 GodReza

hi, when should we expect to get an update for 1.21.8 release directly in modrinth?

In later versions of Minecraft the Render API has changed and the chest base get rendered directly in the chunk mesh, and the lid gets its own little EntityBlockRenderer. This is basically what this mod does. So all these optimizations have basically been implemented natively. No need to use this mod in later versions of Minecraft. If you look for similar gains as EBE used to provide in older versions of Minecraft look into FastChestRevived. Which renders the whole chest in the chunk mesh bypassing EntityBlockRenderer completely (this removes all animations though)

I just tested it in the latest snapshot in a flat world with a 32x32x32 cube of chests. And it seems that's not quite the case; it seems that Mojang hasn't optimized it to the point of rendering Ebe useless, as there is still a huge drop in performance.

Sure by optimizing the EntityRenderer by striping it and drawing the raw baked geometry from bakedQuads will give you a slight fps boost, the problem is that if you want to keep animations without going hardcore and manually animating the lid is that the the cheat still gets entity ticked which is resource intensive. To get a truly significant fps boost one must now disable the entity ticker and manually animate the lid. Preferably skip the Entity Renderer altogether and use something like gpu instancing to render the chest. I have personally updated EBE to use the new render api and it gets same or slightly better fps than fabric vanilla (1.21.8, 2800 singel chests)

ceeden avatar Sep 09 '25 17:09 ceeden

could you share with me here?

GodReza avatar Sep 09 '25 20:09 GodReza

could you share with me here?

Im working on a larger optimaziation mod which will include optimizations for all types of chest (with lid animation) and gpu instancing based renderer for max performance. Will be on my github, don't know when it will be fully completed as I'm low on free time right now. It should give players 200-300% more fps in chest heavy areas (even in 1.21.8 and later versions when dropped if nothing huge changes in entityblock rendering)

ceeden avatar Sep 10 '25 19:09 ceeden

could you share with me here?

Im working on a larger optimaziation mod which will include optimizations for all types of chest (with lid animation) and gpu instancing based renderer for max performance. Will be on my github, don't know when it will be fully completed as I'm low on free time right now. It should give players 200-300% more fps in chest heavy areas (even in 1.21.8 and later versions when dropped if nothing huge changes in entityblock rendering)

nice bro i wish you good luck, i'd suggest you to publish on modrinth or curseforge too

GodReza avatar Sep 11 '25 09:09 GodReza

could you share with me here?

Im working on a larger optimaziation mod which will include optimizations for all types of chest (with lid animation) and gpu instancing based renderer for max performance. Will be on my github, don't know when it will be fully completed as I'm low on free time right now. It should give players 200-300% more fps in chest heavy areas (even in 1.21.8 and later versions when dropped if nothing huge changes in entityblock rendering)

nice bro i wish you good luck, i'd suggest you to publish on modrinth or curseforge too

After some experimenting on what is the most efficient setup for chests(or all animated block entities for that matter) I came up with a hybrid solution. We will go over chests in this example, but it applies to all animated block entities. Render all chests statically in chunk meshes, when a chest is animated, remove that specific chest from the corresponding chunk mesh, force a chunk rebuild, and render/animate it regularly with the BlockEntityRenderer. Once it finishes animating, add the chest back into the chunk mesh, and force a chunk rebuild. I tested this with my initial 2800 chests and what do you know, a 250-300% increase in FPS!. It is not 100% perfect as the transition between the chunk mesh rendered chest and the BlockRenderEntity rendered chest is a bit harsh visually as of now, but this should be a easy fix though :)

ceeden avatar Sep 21 '25 01:09 ceeden

could you share with me here?

Im working on a larger optimaziation mod which will include optimizations for all types of chest (with lid animation) and gpu instancing based renderer for max performance. Will be on my github, don't know when it will be fully completed as I'm low on free time right now. It should give players 200-300% more fps in chest heavy areas (even in 1.21.8 and later versions when dropped if nothing huge changes in entityblock rendering)

nice bro i wish you good luck, i'd suggest you to publish on modrinth or curseforge too

After some experimenting on what is the most efficient setup for chests(or all animated block entities for that matter) I came up with a hybrid solution. We will go over chests in this example, but it applies to all animated block entities. Render all chests statically in chunk meshes, when a chest is animated, remove that specific chest from the corresponding chunk mesh, force a chunk rebuild, and render/animate it regularly with the BlockEntityRenderer. Once it finishes animating, add the chest back into the chunk mesh, and force a chunk rebuild. I tested this with my initial 2800 chests and what do you know, a 250-300% increase in FPS!. It is not 100% perfect as the transition between the chunk mesh rendered chest and the BlockRenderEntity rendered chest is a bit harsh visually as of now, but this should be a easy fix though :)

Glad to hear about the progress πŸ‘πŸ»πŸ‘ŒπŸ»

GodReza avatar Sep 21 '25 09:09 GodReza

Image BEFORE- Sodium Only AFTER - Sodium + BBE(My mod) Some small tweaks left and adding integration with ModMenu then it should be "consumer" ready. Ehh no, on second tought haven't finished the support for NVIDIUM yet, would really like that to work. Hmm we will see I guess :)

ceeden avatar Sep 21 '25 18:09 ceeden

Looking forward to the mod! I'm not sure on nvidium myself, it doesn't work for me anymore, just freezes the game when trying to load into a world.

ShayBox avatar Sep 27 '25 21:09 ShayBox

This is amazing! I really want to start using it.

uricus avatar Sep 27 '25 23:09 uricus

BEFORE- Sodium Only AFTER - Sodium + BBE(My mod) Some small tweaks left and adding integration with ModMenu then it should be "consumer" ready. Ehh no, on second tought haven't finished the support for NVIDIUM yet, would really like that to work. Hmm we will see I guess :)

Finally, you're awesome!

As an AMD user, might I suggest releasing this sans-Nvidium support for now and making it clear that the support's not there yet? Or maybe at least putting it on GitHub for people to compile themselves?

Either way, you're the boss, and I'm not trying to rush you. Just excited to finally get this mod (or one like it) back!

broccoliiiiiii avatar Sep 28 '25 01:09 broccoliiiiiii

BEFORE- Sodium Only AFTER - Sodium + BBE(My mod) Some small tweaks left and adding integration with ModMenu then it should be "consumer" ready. Ehh no, on second tought haven't finished the support for NVIDIUM yet, would really like that to work. Hmm we will see I guess :)

Finally, you're awesome!

As an AMD user, might I suggest releasing this sans-Nvidium support for now and making it clear that the support's not there yet? Or maybe at least putting it on GitHub for people to compile themselves?

Either way, you're the boss, and I'm not trying to rush you. Just excited to finally get this mod (or one like it) back!

Thanks much appreciated. Yea im probably gonna scrap the NVIDIUM support as its gonna take to long to figure out (Im alone on this project and don't really have the time) Currently the mod would be ready to be published but there are a few bugs I would like to workout before pushing to the public. I don't want to release the mod before the core functionallity works without issues (there is currently a bug where on some worldsaves chests don't animate properly, but if replaced they work as intended again. discovered this yesterday when importing a older save from another player). Also the UV mappings for the left and right side of the double chest/trapped dont look like vanilla, this I wont fix before releasing though as anyone with a bit of BlockBench knowledge should be able to figure this one out. Thanks for the support everyone, the mod will be released ASAP, sadly real life, work and such gives me very little time to really "get in the zone" and push out code.

ceeden avatar Sep 28 '25 04:09 ceeden

@ceeden I'm confused There is no repository or projects or activity in your profile There is no mod named BBE in anywhere on the modrinth or curseforge Is this convo is just a huge AI to AI response? I'm believing more and more about dead internet theory everyday lol

EGOIST1372 avatar Sep 28 '25 09:09 EGOIST1372

Enhanced Block Entities (EBE) is this mod, their mod (BBE, Better Block Entities?) isn't on GitHub yet, it's private still.

ShayBox avatar Sep 28 '25 10:09 ShayBox

@ceeden I'm confused There is no repository or projects or activity in your profile There is no mod named BBE in anywhere on the modrinth or curseforge Is this convo is just a huge AI to AI response? I'm believing more and more about dead internet theory everyday lol

The repo is private, because it's not done yet and I don't want to share shitty unfinished code. I use GIT as any other developer and until I feel the mod is finished or atleast lives up to what I want it to be before release the repo will stay private. I don't see the problem. I will not publish on modrinth or curseforge as it will be a fabric only mod and I won't compile it for every compatible minecraft version. It will be on github ONLY when it's ready in my eyes.

ceeden avatar Sep 28 '25 10:09 ceeden

The repo is private, because it's not done yet and I don't want to share shitty unfinished code. I use GIT as any other developer and until I feel the mod is finished or atleast lives up to what I want it to be before release the repo will stay private. I don't see the problem. I will not publish on modrinth or curseforge as it will be a fabric only mod and I won't compile it for every compatible minecraft version. It will be on github ONLY when it's ready in my eyes.

Good to know cause the whole conversation was sus and strange and there was no name or link or mention of anything thanks for clarification <3

EGOIST1372 avatar Sep 28 '25 11:09 EGOIST1372

TIL I'm a bot

broccoliiiiiii avatar Sep 28 '25 15:09 broccoliiiiiii

The repo is now public, enjoy. The code is messy and unfinished but it works, call this a rough draft. I will be updating and refining the mod when I have time. Until then fork it and send me pull requests. I have added support for 1.21.8 and the latest release 1.21.9.

ceeden avatar Oct 01 '25 07:10 ceeden

The repo is now public, enjoy. The code is messy and unfinished but it works, call this a rough draft. I will be updating and refining the mod when I have time. Until then fork it and send me pull requests. I have added support for 1.21.8 and the latest release 1.21.9.

not working for me on 1.21.8 sadly, works on 1,21,9 though

ShadowTigerCool avatar Oct 04 '25 14:10 ShadowTigerCool

The repo is now public, enjoy. The code is messy and unfinished but it works, call this a rough draft. I will be updating and refining the mod when I have time. Until then fork it and send me pull requests. I have added support for 1.21.8 and the latest release 1.21.9.

not working for me on 1.21.8 sadly, works on 1,21,9 though

1.21.8 branch is not updated yet, have been working on the 1.21.9 version currently to "finish it" as there is more todo there, 1.21.8 will be updated shortly :)

ceeden avatar Oct 04 '25 15:10 ceeden

The repo is now public, enjoy. The code is messy and unfinished but it works, call this a rough draft. I will be updating and refining the mod when I have time. Until then fork it and send me pull requests. I have added support for 1.21.8 and the latest release 1.21.9.

not working for me on 1.21.8 sadly, works on 1,21,9 though

1.21.8 branch is not updated yet, have been working on the 1.21.9 version currently to "finish it" as there is more todo there, 1.21.8 will be updated shortly :)

any potential for a neoforge variant? understandable if not, but enhanced block entities reforged has yet to update to 1.21.8 and i believe its dead

DieuDeGlace avatar Oct 05 '25 02:10 DieuDeGlace

@DieuDeGlace Definently not impossible. But probably won’t be for a while as currently the mod is fabric only and unfinished. It builds on Sodium which supports NeoForge, so it’s definently a possibility that I might write a Forge/NeoForge variant in the future. I would love to find partner that would help me on the project so that progress could be made faster :(

ceeden avatar Oct 05 '25 03:10 ceeden

yoo ceeden, what happened to your mod? is it finished? still developing?

anthonyantonio3 avatar Nov 08 '25 13:11 anthonyantonio3

yoo ceeden, what happened to your mod? is it finished? still developing?

https://github.com/ceeden/betterblockentities

adr278 avatar Nov 08 '25 13:11 adr278