Started by
kokskoksowy
on
Topic category: Advanced modding
Hello, I wanted to make a gui with a checkbox, but when I select it and exit and enter again, it is unchecked.
I want to make sure that after closing the block, the NBT "checkbox: true" is written in the block and the checkbox is loaded when the block is reopened.
(I used google translator)
Edited by kokskoksowy on Wed, 02/07/2024 - 07:30
You should store data somewhere, e.g. in player variable