Jump to content

Azias

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Azias

  1. It might be a bug in the game. I will put the thread as solved and I will check for another update. Thank you for your help
  2. I will change it I tested, and it works perfectly except for the bold. Thank you for suggesting the change.
  3. It's because when I made it in 2013 I was bad at codding and found it easier to do it that way, and I never thought about changing it because it was working. But I'm planning on using them.
  4. Hello, I have a problem, I'm making a GUI with text and text formatting, but the bold doesn't work. In 1.7 it worked perfectly, even in buttons. How it works: 1. I get a string like : "&xbUpdate 1.2#*&xiAdded Keyboard Controls#*?#&c*Added More Options" (the "#" is used later to separate lines into an array) 2. After that, I replace the "&xb"/"ξ" with "EnumChatFormatting.xxx.toString() with: text = text.replaceAll("&xb", EnumChatFormatting.BOLD.toString()); And for the button, it works with every text formatting except the bold too: this.buttonList.add(buttonRight = new GuiButton(4, (width - newsPaneWidth) / 2 + 74 + 32, (height-30) / 2 + 74, 25, 20, bold + ">")); Source code: GuiServerNews.java Note 1: The code looks ugly, because I wrote the base when I started learning Java. Note 2: The text in bold has more space between characters. Thanks for your help.
  5. Thanks, it worked. I have a last question, can we see the ones from Minecraft and use them like in the older versions ?
  6. Hello, I wanted to how can I see forge sources. I know that i can see the class in the "forgeBin-1.7.2... .jar", but i can't find the decompiled sources.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.