Started by
DENTiller
on
Topic category: Help with Minecraft modding (Java Edition)
Hello! I wanted to ask if there is a way to get rid of the FPS drop when wearing 3D armor?
I made the armor, divided it into several parts, the armor itself works but causes a decrease in FPS.
Armor texture - 512x512
The number of objects from body armor is 95.
What could be the problem?
The problem is that you have 95 elements. The more you add, the worse it functions.
Try to stick to as few as possible. 95 is an utterly insane amount, I'm surprised your game didn't crash instantly. Attempt to stick below 20.
Minecraft is not really designed for such complex models
laughs in Raolcraft's ~2000 mod elements
@crispy_chips it is 95 parts in a 3d model, not 95 mod elements XD
Is there another way to render armor with a model without the java way?
Let's say through OBJ?
It's strange, when I make mobs they have much more than 95 elements and they work fine and do not lower FPS.
This only happens with armor
Armor is re-rendered and re-applied on entity on each tick, as a modifier. So the system is fundamentally different.
It doesn't matter how many objects are on the model. Even if there are 10-5 objects due to the fact that if there are 5 or more players who put on such armor and stand next to each other, then the FPS will squat under any conditions. There is generally another way to change the system of the 3D model of the armor, will it help if introduce support for OBJ models for the armor? It's just that it breaks my mod on MCreator and further career.
Maybe make it have a smaller texture. High res texture packs lag out the game.
No, it's not due to textures. I have about 20 reservations and have checked all of them. For those who have few objects, it does not significantly lower FPS, so this is not due to textures.
try reducing the number of cubes on each armor piece until the lag is unnoticable, then rework your armor with that amount of cubes per armor piece.
If you make the armor with the least number of objects, the problem will remain, namely, if 3 or more players will roll in front of each other with the armor on, the FPS will drop. At least make armor with 10-6 elements
Hello, I would really like to know how to avoid this problem, if at all possible.
Just want to convey the information that it does not depend on how many objects on the model of armor.
If there are several players in the circle themselves with any 3D armor, then FPS will drops for no reason.
Please, if there is an opportunity to correct this problem.