Energy System with NBT tags

Started by Dreeperte on Sun, 05/24/2020 - 14:14

Topic category: Advanced modding

Last seen on 09:03, 11. Oct 2020
Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Energy System with NBT tags
Sun, 05/24/2020 - 14:14

After a lot of work i finally done it ! you can create an energy system with local storage, cables using NBT tags.

Here is a video (in french) where i show my energy system : https://youtu.be/7eFk1ojMRuM

The workspace : https://github.com/Dreeperte/Mcreator-workspace.git

 

 

 

 

Last seen on 02:30, 13. Jul 2021
Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
From A curiosity I will…
Sun, 05/24/2020 - 14:53

From A curiosity I will check this out and see if it can be more optimized or improved :)

 

Last seen on 09:03, 11. Oct 2020
Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thanks :)
Sun, 05/24/2020 - 14:56

Thanks :)

Last seen on 01:04, 10. May 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
what is the EnergyRecup used…
Fri, 06/05/2020 - 16:12

what is the EnergyRecup used for

Last seen on 09:03, 11. Oct 2020
Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
EnergyRecup is outdated…
Mon, 06/08/2020 - 09:50

EnergyRecup is outdated right now, it was an old way to use energy , now if you want a machine that can take energy you will need to put your block in a group tag "machine_energy" then after that you will need to make procedure "On block placed" that set the nbt number tag "energyMax" to the value that you want .

After that you just have to make in update tick a procedure that compare the NBT tags "energy" > 0 and then you make your own procedure.

Also for how to make cables please check this video : https://youtu.be/nn5fN4tGZmw