Started by
Dreeperte
on
Topic category: Advanced modding
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
From A curiosity I will check this out and see if it can be more optimized or improved :)
Thanks :)
what is the EnergyRecup used for
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