Started by
wowwowwow
on
Topic category: Help with Minecraft modding (Java Edition)
Hello, I used a translator, so English sentences can be strange.
I want to make sure that the strings in the GUI input window, like a command block, stay in place even if the GUI is closed and reopened once. But no matter how hard I tried, I didn't succeed at it. What can I do to succeed in this?
Edited by wowwowwow on Wed, 02/19/2025 - 14:23
Save the string to an NBT tag then copy the text back into the input field using the "When this GUI is opened" event