How to save inventory inside and NBT data of the block when it broken?

Started by NecroVacuum on

Topic category: Help with MCreator software

Last seen on 17:55, 28. May 2023
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to save inventory inside and NBT data of the block when it broken?
Wed, 03/22/2023 - 00:15 (edited)

So I need to figure out about how to save items and NBT data of the block when it is broken then picked up and placed again.

I've made a machine that has inventory slots and NBT data. I've checked "Enable block entity" and "Bind the block to the GUI". And if I'll uncheck "Drop items from inventory when block destroyed" the block will erase items and NBT data after this block is broken and placed again. 

Edited by NecroVacuum on Wed, 03/22/2023 - 00:15