Started by
Jokkie
on
Topic category: Help with Minecraft modding (Java Edition)
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.
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
How can i make a variable incrase every time i inject a block? // this is the image: 1.png (1230×268) (discordapp.com)