Energy Cable

Started by Aizark on

Topic category: Help with modding (Java Edition)

Last seen on 03:21, 29. Sep 2023
Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Energy Cable

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?