Started by
jeux2119
on
Topic category: Help with Minecraft modding (Java Edition)
i know their is 6x6x6 block check but i need to use it to find every lock around it and replace them with my other custom block if this isnt able to be made i can just make it check for grass blocks
You can use the 6x6x6 template, then modify it so that instead of checking for a block, it checks for not air at the same X Y Z locations as the block check, and instead of setting a variable to true, it places a block at the same X Y Z location as the check.
good idea klet me try
wait but how do you check for not air
nvm
im so confused what combine not and a block procedure
There is a procedure block that allows you to check for air at a location, then you can replace X, Y, Z in it with X+SX, Y+SY, Z+SZ
Then you can attach a 'not' block in front of it, and move the (not(is air)) block combination to be where the ((get block at [] [] [])=([])) in the procedure is.
so like https://imgur.com/a/DFSz087 this ok thanks
i dont think this works
https://imgur.com/a/Rccqtxg
i did it
altough i just realised the the blocks are spawning like
0 = grass still there
1= infected grass
2 is the plant
00001
00001
00201
00001
00001