Given that height
is restricted to [1, 512]
, I expected that I wouldn’t be able to create a multiline edit box larger than 512
pixels by using max_height
. However, max_height
is not limited, allowing you to create really tall edit boxes, which lags the game immensly.
Since the height is calculated using 9 * max_height + 8
, I expected max_height
to be limited to 56
(since 56*9+8 = 512
)
How to reproduce
/dialog show @s {type:"minecraft:simple_input_form",title:"Example",inputs:[{type:"minecraft:text",key:"foo",label:"Foo",multiline:{max_lines:500000000}}],action:{label:"",id:"",on_submit:{type:"minecraft:custom_form",id:"foo"}}}
❌ Notice that the game lags while the dialog is open. The terrain behind the dialog may start to flicker.
After closing the dialog, chunk sometimes no longer render. Reloading the world does not fix the issue, you need to restart the game to get the chunks to render again.
Attachments
Comments 0
No comments.