mojira.dev
MC-303238

Severe FPS drops when many signs with complex NBT data are in player’s view

Description

In both 1.21.10 and the latest snapshot 25w42a, the game experiences noticeable FPS drops and stuttering when the player looks toward an area containing many signs with complex NBT data (e.g. custom text, colors, click events, etc.).

This issue did not occur in 1.21.8, where the same world and signs rendered smoothly without any performance problems. It seems that sign rendering or NBT parsing performance has regressed in newer versions.

Steps to Reproduce

  1. Create or load a world in Minecraft 1.21.10 or snapshot 25w42a.

  2. Place a large number of signs in a visible area.

  3. Give each sign a complex NBT with text formatting, colors, and click events. Example NBT data are shown below:

    {back_text:{color:"black",has_glowing_text:0b,messages:["","","",""]},components:{},front_text:{color:"light_gray",has_glowing_text:1b,messages:[{bold:1b,color:"light_purple",italic:1b,text:"Phantom Ball"},{click_event:{action:"run_command",command:'/tellraw @s [{"color":"aqua","text":"使用道具可投放一个假球,迷惑你的对手……和你自己"},{"color":"white","text":"\\n使用冷却时间: 60s"},{"color":"white","text":"\\n假球存在时间: 30s"},{"color":"yellow","text":"\\n真球进门后将清除场上所有假球"}]'},color:"white",text:"[右键查看介绍]"},{color:"red",text:"Off"},""]},is_waxed:1b}
    {back_text:{color:"black",has_glowing_text:0b,messages:["","","",""]},components:{},front_text:{color:"light_gray",has_glowing_text:1b,messages:[{bold:1b,color:"red",text:"关闭药水效果"},"","",""]},is_waxed:1b}
    {back_text:{color:"black",has_glowing_text:0b,messages:["","","",""]},components:{},front_text:{color:"light_gray",has_glowing_text:1b,messages:[{bold:1b,color:"aqua",text:"速度I"},"","",""]},is_waxed:1b}
  4. Look directly toward the signs — FPS drops significantly.

  5. Test the same setup in Minecraft 1.21.8 — FPS remains stable.

Expected Result

Rendering signs, even with complex NBT data, should not cause significant FPS drops compared to 1.21.8 performance.

Actual Result

When looking toward many signs containing complex NBT data, the FPS drops dramatically.

Attachments

Comments 0

No comments.

Shrans

(Unassigned)

Confirmed

(Unassigned)

1.21.10, 25w42a

Retrieved