Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

TreyRuffy

Members
  • Joined

  • Last visited

  1. Nevermind! I figured it out! For anyone who needs help, this is a helpful mod to look at!
  2. 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..
  3. Just edited it to include it in context.
  4. 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:
  5. Thank you two! One more question. How can I change chat packets that are received by the client from a server?
  6. 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!

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.