Energy Storage not saved when block is broken

Started by DragonUser101 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Energy Storage not saved when block is broken

I made a very simple energy producer block. But when I break this said block the amount of energy it had before it was broken is gone. Is there something I have to turn on? 

I saw a post using nbt tags and itemstack variables but have no clue how to as the steps weren't clear, at least for me. Anyways I'd really appreciate any bit of help.

 

thanks in advance!