I need a loop system of blocks

Started by Jokkie on

Topic category: Help with Minecraft modding (Java Edition)

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.

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