QuestionHelpCustom Xray blocks

Posts 1–3 of 3 · Page 1 of 1
Custom Xray blocks
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)
Quote Originally Posted by LordPankake View Post
If xrayblocks.contains(paramBlockId)? RenderBlock : DontRenderBlock. ( note the: ? X1 : X2 )

If Integer.isIngeger(userInput) then xrayblocks.add(Integer.parseInt(userInput)
Don't forget to allow for both IDs and names.
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us