(SOLVED) Strange issue with Blocks that has NBT Tags and Structures

Started by ManuehTheModder405 on

Topic category: Help with modding (Java Edition)

Last seen on 15:36, 4. May 2024
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(SOLVED) Strange issue with Blocks that has NBT Tags and Structures
Sun, 04/28/2024 - 17:09 (edited)

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.

Edited by ManuehTheModder405 on Sun, 04/28/2024 - 17:09