Energy Cable

Started by Aizark on Wed, 11/09/2022 - 12:47

Topic category: Help with modding (Java Edition)

Last seen on 22:33, 9. Nov 2022
Joined Nov 2015

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Energy Cable
Wed, 11/09/2022 - 12:47

Tell me, how should I implement an energy cable for a mod with appliances and electricity?

I'm not talking about a 3D model or mapping, I'm talking about the logic of receiving and transmitting energy to mechanisms located far away using wires

The only way that I see is to create a block that can store as much energy as it transmits. But it seems that if the player uses such wires, then the server will have to do a lot of work to calculate each wire. it also looks more like an accamulator, not a wire.

Are there any other methods of creating a block of wires that would not cause a huge load? perhaps it is necessary to somehow store the information of all mechanisms and generators or storages?

I ask for help. perhaps there is already a built-in solution in the creator?