Some back story: A few weeks back, I started playing on my friends minecraft server, which has a glitched end with dozens of dragons in it. I recently started killing those dragons for the xp, which was fine at first, but with each one I killed, the game seemed to get more and more laggy. Eventually I realised it was the end portals (a new one gets added for each dragon that gets killed) causing the lag. The more there were, the lower my fps dropped. So I made this mod. The End.
Info:
In Minecraft, by default, the end portal uses a lot of fancy effects to make it look cool. While this is nice and all, it can really slow down your computer if you have a lot of end portals being rendered at once. Unfortunately, Minecraft has no option to turn off those fancy effects, which is where this mod comes in. This mod allows you to change how end portals are rendered (through either the in-game options menu, or by manually editing the config file). You can choose from the default, vanilla Minecraft renderer, the fast renderer, which will use a static image (/misc/particlefield.png) to render the portal, or the fastest renderer, which will just use solid black for rendering. Depending on the amount of ender portals being rendered at once, both the fast and fastest renderers can give a boost of over 100fps when compared to the default renderer. Note that there isn't really any difference between the fast and fastest option, for me fastest only gave a 2-4 fps increase over fast in my tests.
Screenshots:
Here is a 16x16 square of end portals using the default renderer (27fps):
And here it is again with the fast renderer (223 fps):
The fastest renderer (229 fps):
And then with regular glass blocks, just for comparison (273 fps):
Here is the options menu button:
And here is the actual menu:
Custom Textures:
As of version 1.1, I have made custom textures for the fast renderer work better. The fast renderer will now use a separate texture file from the default renderer (/misc/particlefield_fast.png instead of /misc/particlefield.png) and it will no longer lower the brightness on the texture. So, if you do want a custom texture, just create a folder called misc, put your custom particlefield_fast.png file in it, then compress the folder to a zip and use it as a texture pack. If you have optifine or have patched minecraft to support animated texture, you can even make the fast end portal animated. I have made an example texture pack to demonstrate this. It will be animated if your minecraft supports animated textures, otherwise it will just be static.
Download custom texture: http://www.mediafire...mre5571cck7iy19
Preview: http://i.imgur.com/axzJR.png
A note about base files:
This mod edits two base files. One is required, it is the end portal render file. As far as I know, there is no way to have this mod without editing that file, so you will have to live with it. I doubt there are really any other mods that edit this file, so compatibility shouldn't be an issue. The other base file is the main options window. I am not sure if there is a way around editing that, let me know if there is, but for now, it is modified. If you have another mod that also edits the main options window, then there will probably cause issues. You can chose not to use the file (check the readme in the zip to see which file is the options one), my mod will still function, but you will have to manually edit the option file, because you wont be able to access the mod's settings menu in the options any more. See the readme in the zip for more details.
v1.2 Changes:
- Now compiled with Java 1.5 support (& any versions above that obviously)
v1.1 Changes:
- Fixed a bug with the fastest renderer which could cause a crash
- Better support for custom textures with the fast renderer, now uses /misc/particlefield_fast.png
Using this mod in your mod:
Feel free to decompile the code or whatever to use this in your mod. If you do do this, and plan on releasing the mod, please give me credit, and send me a pm to let me know. Thanks!
Updated this to v1.1! Download in the original post.
I fixed a bug with the fast renderer that could cause a crash, and custom textures on the fast renderer now work better. They use a separate file from the default renderer, and the brightness of the texture is no longer lowered. I put together an example texture pack, which will make the fast end portal animated (provided you have optifine or have patched minecraft to support animated textures). Here is a preview (not animated, of course): http://i.imgur.com/axzJR.png. Download link is in the original post.
Hey person66, is it possible to make a version for fabric 1.20.1?
You are replying to somebody who hasn't been online in nearly a decade, or made a post in even longer (they seem to have stopped making mods at 1.4.6).
Oddly enough, this thread is the first result for "end portal lag fix", despite still being an issue (MC-104726) after more than a decade of render engine rewrites (not necessarily meaning much), I did find one post somebody made on r/fabricmc to request such a mod but with no solutions given (I never noticed it myself, even on a now nearly 20 year old computer, and you normally won't have so many portals open, so not many people may be noticing it, mods like Sodium may also fix or improve it, as they do for rendering in general, which by itself can help by reducing the time needed to render everything else).
Some back story: A few weeks back, I started playing on my friends minecraft server, which has a glitched end with dozens of dragons in it. I recently started killing those dragons for the xp, which was fine at first, but with each one I killed, the game seemed to get more and more laggy. Eventually I realised it was the end portals (a new one gets added for each dragon that gets killed) causing the lag. The more there were, the lower my fps dropped. So I made this mod. The End.
Info:
In Minecraft, by default, the end portal uses a lot of fancy effects to make it look cool. While this is nice and all, it can really slow down your computer if you have a lot of end portals being rendered at once. Unfortunately, Minecraft has no option to turn off those fancy effects, which is where this mod comes in. This mod allows you to change how end portals are rendered (through either the in-game options menu, or by manually editing the config file). You can choose from the default, vanilla Minecraft renderer, the fast renderer, which will use a static image (/misc/particlefield.png) to render the portal, or the fastest renderer, which will just use solid black for rendering. Depending on the amount of ender portals being rendered at once, both the fast and fastest renderers can give a boost of over 100fps when compared to the default renderer. Note that there isn't really any difference between the fast and fastest option, for me fastest only gave a 2-4 fps increase over fast in my tests.
Screenshots:
And here it is again with the fast renderer (223 fps):
The fastest renderer (229 fps):
And then with regular glass blocks, just for comparison (273 fps):
Here is the options menu button:
And here is the actual menu:
Custom Textures:
As of version 1.1, I have made custom textures for the fast renderer work better. The fast renderer will now use a separate texture file from the default renderer (/misc/particlefield_fast.png instead of /misc/particlefield.png) and it will no longer lower the brightness on the texture. So, if you do want a custom texture, just create a folder called misc, put your custom particlefield_fast.png file in it, then compress the folder to a zip and use it as a texture pack. If you have optifine or have patched minecraft to support animated texture, you can even make the fast end portal animated. I have made an example texture pack to demonstrate this. It will be animated if your minecraft supports animated textures, otherwise it will just be static.
Download custom texture: http://www.mediafire...mre5571cck7iy19
Preview: http://i.imgur.com/axzJR.png
A note about base files:
This mod edits two base files. One is required, it is the end portal render file. As far as I know, there is no way to have this mod without editing that file, so you will have to live with it. I doubt there are really any other mods that edit this file, so compatibility shouldn't be an issue. The other base file is the main options window. I am not sure if there is a way around editing that, let me know if there is, but for now, it is modified. If you have another mod that also edits the main options window, then there will probably cause issues. You can chose not to use the file (check the readme in the zip to see which file is the options one), my mod will still function, but you will have to manually edit the option file, because you wont be able to access the mod's settings menu in the options any more. See the readme in the zip for more details.
Download:
Download v1.2 for Minecraft 1.4.5: AdFly (for cool guys) Mediafire (for not cool guys)
Download v1.1 for Minecraft 1.4.2: AdFly (for cool guys) Mediafire (for not cool guys)
Download v1.1 for Minecraft 1.3.2: AdFly (for cool old school guys) Mediafire (lame)
v1.2 Changes:
- Now compiled with Java 1.5 support (& any versions above that obviously)
v1.1 Changes:
- Fixed a bug with the fastest renderer which could cause a crash
- Better support for custom textures with the fast renderer, now uses /misc/particlefield_fast.png
Old versions
v1.0
Download for Minecraft 1.4.2: AdFly Mediafire
Download for Minecraft 1.3.2: AdFly Mediafire
Using this mod in your mod:
Feel free to decompile the code or whatever to use this in your mod. If you do do this, and plan on releasing the mod, please give me credit, and send me a pm to let me know. Thanks!
Will test when I get it installed.
I fixed a bug with the fast renderer that could cause a crash, and custom textures on the fast renderer now work better. They use a separate file from the default renderer, and the brightness of the texture is no longer lowered. I put together an example texture pack, which will make the fast end portal animated (provided you have optifine or have patched minecraft to support animated textures). Here is a preview (not animated, of course): http://i.imgur.com/axzJR.png. Download link is in the original post.
Hey person66, is it possible to make a version for fabric 1.20.1?
You are replying to somebody who hasn't been online in nearly a decade, or made a post in even longer (they seem to have stopped making mods at 1.4.6).
Oddly enough, this thread is the first result for "end portal lag fix", despite still being an issue (MC-104726) after more than a decade of render engine rewrites (not necessarily meaning much), I did find one post somebody made on r/fabricmc to request such a mod but with no solutions given (I never noticed it myself, even on a now nearly 20 year old computer, and you normally won't have so many portals open, so not many people may be noticing it, mods like Sodium may also fix or improve it, as they do for rendering in general, which by itself can help by reducing the time needed to render everything else).
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?