Results 1 to 3 of 3
  1. #1
    I'M GONNA HAVE TO EAT EVERY F--KING CHICKEN
    MPGH Member
    Chris's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    1,086
    Reputation
    29
    Thanks
    2,780
    My Mood
    Psychedelic

    Question 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!
    Vouch Thread
    Thank or +rep me if I helped you ★


  2. #2
    LordPankake's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    1,010
    Reputation
    260
    Thanks
    2,466
    My Mood
    Angry
    If xrayblocks.contains(paramBlockId)? RenderBlock : DontRenderBlock. ( note the: ? X1 : X2 )

    If Integer.isIngeger(userInput) then xrayblocks.add(Integer.parseInt(userInput)

  3. #3
    godshawk's Avatar
    Join Date
    Mar 2013
    Gender
    female
    Location
    root@google ~#
    Posts
    90
    Reputation
    14
    Thanks
    134
    My Mood
    Crappy
    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.

    PM me if you need something.

    DOGE: DLunanNyoE7wmiiKQMVXpSxcQag3eN7kB5

Similar Threads

  1. [Solved] FTB Mindcraft Client with CUSTOM XRAY?
    By CinnamonTiny in forum Minecraft Help
    Replies: 2
    Last Post: 07-19-2020, 03:46 PM
  2. [Help Request] Forge compatible Xray with block select?
    By bro918 in forum Minecraft Help
    Replies: 7
    Last Post: 06-14-2013, 10:47 PM
  3. [Release] 1.3.1 Xray Mod + Ingame block selector GUI
    By Pryingopen3rdeye in forum Minecraft Mods
    Replies: 16
    Last Post: 10-31-2012, 12:35 PM
  4. Replies: 3
    Last Post: 03-14-2012, 05:15 PM
  5. Custom User Titles?
    By Dave84311 in forum News & Announcements
    Replies: 1
    Last Post: 05-02-2006, 10:33 AM