Started by
clothymonster
on
Topic category: Help with Minecraft modding (Java Edition)
Just started.
I am trying to make a procedure that I can attach to an item that will take effect if there is a certain block type above the player holding the item. But I want to 'get' the block type for any of the blocks above the player, or at least for a range, like 1-10. I am doing this by using an if/do argument for each individual y value ranging from 1 to 10. Is there a way to do it all in one argument by getting 'get block at xyz' to say something like, 'get block at x (y+(1 through 10)) z' ?? I'm assuming I will also have to tell it to check if any rather than all of the blocks are that type.
Thanks in advance. New to all this.
Edited by clothymonster on Sun, 03/01/2020 - 21:05
I guess what I'm looking for is an 'or' and/or an 'and'.... Can't seem to find them.
But even so, the ability to put a value range in there would be awesome