Started by
herrcookie
on
Topic category: Help with Minecraft modding (Java Edition)
Yo Guys, I was wondering how I could make a detection when you right click an Item, that it checks for blocks and replaces the blocks with a different block in an 10 block radius. I know that the 6x6x6x template exists but that only checks for 1 singular block in that radius.
Edited by herrcookie on Mon, 04/21/2025 - 18:03
You could set it up so it covers the radius you want, then in the If the variable found is true part you set it to replace the block at sx sy and sv with the one you want to change. Then, you disconnect all that procedure from the green start block and put it inside a repeat block for enough times to cover the whole area, which would be 1000 blocks... That might be a bit too intensive, you could limit the Y (height) axis to maybe 3 layers (-1,0,1) and reduce the area a bit.
It just places one block and that one block like very far away from me