Topic category: Help with Minecraft modding (Java Edition)
So I've was working on a structure with a block that acts like the news Vaults in MC 1.21, I've tried the block and it works perfectly but the problem happens when the structure generates naturally, when that happens the block doesn't update ticks and the nbt tag doesn't work, so the block is useless, I've been testing but it only happens when the structure generates manually, nothing to do with the structure block or the player.
BTW the block is a Geckolib animated one because it has an animation when opening.
If you know something to fix this please notified me because I need to fix this quick ;)
I've found a way using a entity, my bad to not knowing that structures with blocks doesn't updates ticks.