-
Bug
-
Resolution: Unresolved
-
None
-
1.17.1, 21w37a, 21w42a, 21w44a, 1.18 Pre-release 1, 1.18 Pre-release 2, 1.18, 1.18.1 Pre-release 1, 1.18.1, 22w06a, 1.18.2, 22w12a, 22w16b, 22w19a, 1.19 Pre-release 4, 1.19, 1.19.2, 1.19.3 Pre-release 2, 1.19.3, 23w03a, 23w04a, 23w05a, 23w06a, 1.19.4 Pre-release 1, 1.19.4 Pre-release 3, 1.19.4, 23w16a, 23w18a, 1.20.1, 23w31a, 23w32a, 24w33a, 1.21.1
-
None
-
Confirmed
-
Performance
Rendering a large amount of items can drastically decrease frame rate, notably in the GUI when opening inventories, containers/chests full of them. This can be very noticeable when arranging a large amount of items.
Seems to be that every single item rendered counts as a draw call, and considering the amount of items inside a full double chest and their separate layers, this can get up to dozens of draw calls, making rendering chest contents a resource intensive task.
A single item can have one of the next counted as a separate layer, which contributes to the lag considerably when stacked:
- Color layers (leather armor, tipped arrows, potions, etc).
- Pattern layers (banners, shields).
- Armor trims.
- Enchant glint (MC-233605).
- Item quantity label/number (MC-249635).
- Durability bar.
How to reproduce
- Create a void world, place a double chest full of items and another one empty.
- Open ALT+F3 and open both chests.
- Compare the frame rate.
- relates to
-
MC-226966 Signs increase lots of lag when using glowing ink sac
- Open
-
MC-233605 Enchantment glint rendering can impact frame rate performance
- Open
-
MC-249635 Text rendering can heavily impact frame rate performance
- Open
-
MC-253502 Obfuscated text has a significant impact on performance
- Open
-
MC-233603 HUD / Hotbar rendering can heavily impact frame rate performance
- Resolved
-
MC-261699 Opening inventory causes consistent lag
- Resolved