mojira.dev
MC-250246

Moving in mangrove swamps FPS/TPS drop below normal forests

Moving in mangrove swamps FPS/TPS drop behind normal forests.
Could be worse when it rains.

Performance has improved significantly in the 23w16a, but is still lower than the normal forest.

Two related issues(MC-170134 & MC-279350) have been resolved in the 1.21.5 Pre-release 1, but the issue still exists.
The following are the settings:
1.21.5 Pre-release 2
Y=100
Mangrove swamps
49 ~ 126 fps
TPS 81 ms max

[media]


Normal forests
137 ~ 202 fps
TPS 41 ms max

[media]


Steps to reproduce:

  1. Create a Single Biome world with Mangrove Swamp.

  2. Use ALT + F3 to view FPS and TPS.

  3. Move, run or fly in the world.

Environment

OS: Windows 11 Pro 24H2
OS Build: 26100.3194
CPU: Intel(R) Core(TM) i9-9900K
GPU: NVIDIA GeForce RTX 3080
GL Version: 3.2.0 NVIDIA 566.14
RAM: 64 GB
Java Version: 23.0.2

Linked issues

MC-273024 Stutters when crossing chunk borders while generating new chunks Reopened MC-249271 Mangrove roots are transparent in Fast graphics Resolved MC-240450 Large forest/jungle/mangrove swamp fires cause considerable lag Open MC-262689 Hanging mangrove propagule models are comically unoptimized Open MC-125007 World fails to generate decorations on seemingly random quarter chunks Reopened

Attachments

Comments 15

I believe that MC-218623 significantly contributes to this issue.

As stated above, a cause of this is likely MC-218623. Due to some vines being supported by leaves, when the leaves despawn, the vines are destroyed as well causing a slight performance drop when multiple instances of this occur within a reasonable amount of time.

MC-227319 too, I believe both issues are related to lag in jungle and mangrove swamp.

May be more serious for players reaching the game's minimum recommended performance.

Frame rate lag also seems to be more drastic compared to jungles/bamboo jungles due to the amount of roots (which are even laggier than leaves). And doesn't help that because of MC-249271 setting graphics to fast doesn't do much for weaker machines.

5 more comments

Not entirely sure if i can say this is fixed. It might have been mitigated on some devices (NVIDIA maybe?) but on my case there isn't any noticeable difference from 1.19.2. I have to say though, that due how the game underperforms on my machine this might not be the case for others. Still, i think it's absurd how badly this biome performs compared to jungles (which are also laggy).

1.19.2 & 1.19.3, no entities, random tick disabled:

[media]

[media]

Same scene with jungle/forest biome as comparison, you can see it still performs bad but not as terrible as a mangrove swamp:

[media]

[media]

I want to note that this is when not moving and random tick disabled, however this report mentions the FPS drop is when moving around this biome, so the issue other players were experiencing might've been related to lighting or block updates mentioned in previous comments and not exactly about the rendering of mangrove roots/leaves (which i think are the main cause). Not sure if it's worth making a new report.

likely related to MC-262689

Some mangrove leaves are decaying and some vines are destroyed because they are not connected to others.

Present in 23w45a

Mostly seems to do with "minecraft:noise" cause using custom noise dramatically decreases problem.
Altering noise and altering "foliage_color", "water_color", "water_fog_color". Completely removes so performance drop is equivalent to regular swamp.

[Mod]Les3awe

(Unassigned)

Confirmed

Gameplay

Normal

Performance

lag-spike, mangrove-swamp

22w15a, 22w16b, 22w17a, 22w18a, 22w19a, ..., 1.21.5, 25w17a, 1.21.6 Pre-Release 3, 1.21.6, 1.21.7

1.19.3 Release Candidate 1

Retrieved