2020.4 Snapshot energy problem

Started by kamik1979 on

Topic category: Help with modding (Java Edition)

Last seen on 20:23, 19. Nov 2020
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
2020.4 Snapshot energy problem

Hello. I want to create a coal generator. It consumes coal with no problems, but I have a problem with sending energy to generator. I use this procedure to set "storedEnergy" NBT tag to energy stored in generator:

 

Set NBT number tag "storedEnergy" of block at x: x y: y z: z to Get energy of block at x: x y: y z: z on side Any direction if it has title entity

 

and this to send energy to generator block:

 

Set local: sent to Test sending 25 energy to block at x: x y: y z: z to side Any direction and return amount sent

Send Get local: sent energy to block at x: x y: y z: z  to side Any direction if it has energy storage

 

So, it isn't working. I know that this procedures are executes on 1000000% but I don't see efects. If i delete first procedure and repalce second to this:

 

Set NBT number tag "storedEnergy" of block at x: x y: y z: z to Get NBT number tag "storedEnergy" of block at x: x y: y z: z if it has title entity + 25

 

effects are visible. I'm doing something wrong?

 

(I'm sorry for all mistakes. My English is hopeless)

 

mc ver. 1.15.2

mcreator ver. 2020.4 Snapshot

Last seen on 13:50, 6. Apr 2024
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Please, send screenshot. I…
Thu, 06/25/2020 - 20:34

Please, send screenshot. I did not understand at all...

Last seen on 20:23, 19. Nov 2020
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry but I can't. Copy…
Fri, 06/26/2020 - 16:31

Sorry but I can't. Copy-paste don't work. "Image" option needs URL that I don't have.

Last seen on 20:23, 19. Nov 2020
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, I solved this. I made…
Fri, 06/26/2020 - 17:01

Ok, I solved this. I made small but significant mistake.

Last seen on 14:46, 8. Oct 2023
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
  Y   My god. Why doesn't…
Tue, 08/11/2020 - 00:41

 

Y

 

My god. Why doesn't someone make a cable that can transmit energy. Or why not publish a tutorial when friends who do are here. Why this stinginess cause. Yes, this is a riot

 

Last seen on 13:50, 6. Apr 2024
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Why doesn't someone make a…
Tue, 08/11/2020 - 00:44

Why doesn't someone make a cable that can transmit energy

I did!

why not publish a tutorial when friends who do are here

because some people are just waiting for others like us to make complicated procedures and get it without work.

Last seen on 14:46, 8. Oct 2023
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's not bad for me to want…
Tue, 08/11/2020 - 12:42

It's not bad for me to want others to discover a better method that maybe I can't see. He is not satisfied with what you give and develops himself further with your help. I think so. I shared my project files on my profile, that's what I can do. I also know that you can broadcast cable. I wanted from you
 You said sorry.

Last seen on 19:53, 2. Jun 2021
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
my cables are working, but…
Tue, 08/11/2020 - 22:58

my cables are working, but for some bizarre reason only on negative X/Z axis (North or West), on East and South the energy wont jump right to the 2nd cable from the generator.

Last seen on 19:53, 2. Jun 2021
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok so i finally fixed my…
Wed, 08/12/2020 - 00:09

ok so i finally fixed my cables! they working on all 4 directions now (X/Z axis)! i will be working on Up/Down models later :D

but the procedure i made only works for my own machines, i dont see much problems with this for a simple reason; my machines still would work on other mods cables, so if someone use my mod and mekanism for example, he can still feed my machines with mekanism cables and also use my generators and mekanism cables to feed any machine.

as

Last seen on 19:53, 2. Jun 2021
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
here is my procedure if…
Wed, 08/12/2020 - 00:24

here is my procedure if someone want:

http://www.mediafire.com/file/8glssdpn3a4fz7z/cable2.ptpl/file

i would make a tutorial but i dont have a video broadcast soft atm here.

on the procecure you set the generator positions (on this case here the cable only have 16 block reach, but you can make it wtv distance you want and/or even make cable 'repeaters' to make the range infinite), it checks witch side the original generator comes from; keep in mind you need another OR procedure for each generator block you want your cables to work, on this case i only set it up for my gasoline generator.

Last seen on 14:46, 8. Oct 2023
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you.. :D  
Wed, 08/12/2020 - 01:15

Thank you.. :D