Energy System with NBT tags

Started by Dreeperte on

Topic category: Advanced modding

Active 3 years ago
Joined Sep 2017
Points:
822

User statistics:

  • Modifications: 6
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 78
Energy System with NBT tags

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

 

 

 

 

Active 7 hours ago
Joined Apr 2014
Points:
1228

User statistics:

  • Modifications: 2
  • Forum topics: 27
  • Wiki pages: 1
  • MCreator plugins: 0
  • Comments: 663
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 :)

 

Active 3 years ago
Joined Sep 2017
Points:
822

User statistics:

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

Thanks :)

Active 3 months ago
Joined Apr 2020
Points:
753

User statistics:

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

what is the EnergyRecup used for

Active 3 years ago
Joined Sep 2017
Points:
822

User statistics:

  • Modifications: 6
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 78
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