TreyRuffy
Members-
Posts
6 -
Joined
-
Last visited
Everything posted by TreyRuffy
-
[SOLVED] [1.12.2] Cannot connect to multiplayer servers
TreyRuffy replied to TreyRuffy's topic in Modder Support
Nevermind! I figured it out! For anyone who needs help, this is a helpful mod to look at! -
[SOLVED] [1.12.2] Cannot connect to multiplayer servers
TreyRuffy replied to TreyRuffy's topic in Modder Support
Yeah I know. I just had a lot of unhelpful code in my event class, so I switched the class, not realizing that it would be pointless, which it very much is. I believe this is whats wrong with it. Only thing is, I use a jar dependency which is not a mod, and I cannot figure out how to reobfuscate my mod and include the dependency. I looked up online how to make a "fat jar," which has worked except for obfuscation.. -
[SOLVED] [1.12.2] Cannot connect to multiplayer servers
TreyRuffy replied to TreyRuffy's topic in Modder Support
Just edited it to include it in context. -
I have coded a mod in order to get the IP of a Minecraft server and do some things with that. So far, everything works except this line of code: It always spews out this error: Hastebin Link for easier reading EDIT: Also here is the Gradle mappings and stuff, if this shall help:
-
EnumChatFormatting color; @SubscribeEvent public void partyInvite(final ClientChatReceivedEvent e) { EntityPlayerSP p = Minecraft.getMinecraft().thePlayer; if (ChatMod.toggle) { if (ChatMod.mineplex) { String otherMsg = e.message.getFormattedText(); if (otherMsg.startsWith("§9Party>")) { String noBlue = otherMsg; noBlue = noBlue.replace("§9", "§5"); e.setCanceled(true); p.addChatMessage(new ChatComponentText(noBlue)); return; } } } } I cannot change the color §9 to §5 whilst keeping the rest of the colors the same. Any help would be greatly appreciated!