Team-Resourceful / ResourcefulBees

Minecraft Mod for creating highly customized bees
https://www.resourcefulbees.com
GNU Lesser General Public License v3.0
75 stars 31 forks source link

[Bug]: When I look at bees my FPS reduces #377

Open EvaLinn opened 1 year ago

EvaLinn commented 1 year ago

Bug Description

When I look at bees my FPS reduces

Mods that I have Screenshot_4

How to Reproduce?

Fly around the world Bees are spawning When I look at them I have lags and reduced FPS If i will fly away where's no bees, I have good FPS

Expected Behavior

Not to cause massive FPS drops when I near bees

Version

resourcefulbees-forge-1.19.2-1.0.0-alpha.21

Mod Loader Version

1.19.2 - Forge 43.2.8

Logs or additional context

Screenshot_2 Screenshot_3

Acknowledgement

Epic428 commented 1 year ago

Yes I’m very aware that this happens. There’s very little I can do to fix it outside of writing a new rendering system for Minecraft. The number of cubes each bee model has is part of the issue. However reductions to those means the bees don’t look fancy. Unfortunately for now it is something we have to deal with. Another modder is working on a rendering system that we should be able to depend on which would drastically improve the performance. It would only be 1.20+ and is still very experimental

EvaLinn commented 1 year ago

Is there any way to change config of spawn? I reduced the amount of nests in overworld but there's still a lot of bees. I'd like to make them rare, so I won't lag always XD

Epic428 commented 1 year ago

You can make a datapack and configure bee spawns with the biome modifiers and spawn data. Here’s the files for the default bees if you want to modify them and override

https://github.com/Team-Resourceful/ResourcefulBees/tree/1.19/forge/src/main/resources/data/resourcefulbees/forge/biome_modifier