If xrayblocks.contains(paramBlockId)? RenderBlock : DontRenderBlock. ( note the: ? X1 : X2 )
If Integer.isIngeger(userInput) then xrayblocks.add(Integer.parseInt(userInput)
So I want to add a feature that allows the user to select the blocks that they want to be able to see when using the Xray, but I don't know how to do that. I don't want the code only a push in the right direction. Any help would be greatly appreciated!
If xrayblocks.contains(paramBlockId)? RenderBlock : DontRenderBlock. ( note the: ? X1 : X2 )
If Integer.isIngeger(userInput) then xrayblocks.add(Integer.parseInt(userInput)