I need a loop system of blocks

Started by Jokkie on

Topic category: Help with modding (Java Edition)

Last seen on 16:39, 8. Oct 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need a loop system of blocks

Hello, I want to create an injector that when I reload it with 1 fuel item, injects a block 5 blocks below the injector, and if I reload it with other fuel item, block is placed 5 blocks below the previous block. And thus be able to create a loop system.

 

I don't speak English very well, if you need me to repeat something let me know.

Last seen on 15:44, 30. Jul 2024
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
assuming you've made a GUI…
Tue, 03/22/2022 - 20:03

assuming you've made a GUI and fuel and stuff: on the right side of the procedure, click to add an NBT variable, then in block data and block management you can find Get/Set NBT variable, and then make this variable increase every time you inject a block, and every time you inject it, the new block's y position should be 5 times the NBT variable lower than the injector's position

also i can't see the image you posted

Last seen on 16:39, 8. Oct 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can i make a variable…
Tue, 03/22/2022 - 20:34

How can i make a variable incrase every time i inject a block? // this is the image: 1.png (1230×268) (discordapp.com)