Hello. I am trying to setup a behavior for a custom block called "foundry bricks" wherein if you click on the block it checks if the same type of block is located within 7 blocks from the block you clicked. Once I have all the blocks I would like to check, how would I actually check if there is a foundry brick located at that coordinate? I am trying to use pLevel.getBlockState(pos).is(), where pos is a BLockPos at the coordinate I am checking. However, I have no idea what to put in the is(). I have tried using the class for my block and its name but both give either an expression expected error or it says cannot resolve method 'is(registryobject<Block>)'. Apologies if there is a really simple fix for this, I am very new to both Java/Minecraft Modding but I've been searching for a solution for hours without luck. Thank you for any help!