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.

Rainfur

Members
  • Joined

  • Last visited

  1. Adding onto Elyon said, try overriding the launchIntegratedServer method, in your own IntegratedServer class. (@Override in the class). Remove what you need.
  2. Thank you, that appears to have fixed all issues.
  3. I've got an OpenGL question for ya'll. I'm using Slick for dynamic texture loading BTW. My issue is currently that when I try to render more than one face (2), both faces are set to the last one downloaded and bound. I've also tried adding each texture to a Set when initialized and properly set, then looping through and binding each texture, but that doesn't work either. Current code: if(!(Boolean)playerInfo.get(player)) { try { URL url = new URL("http://s3.amazonaws.com/MinecraftSkins/" + player + ".png"); InputStream in = url.openStream(); t = TextureLoader.getTexture("PNG", in); System.out.println("TEXID: " + t.getTextureID()); playerInfo.put(player, Boolean.valueOf(true)); } catch(IOException e) { e.printStackTrace(); } } GL11.glBindTexture(GL11.GL_TEXTURE_2D, t.getTextureID()); GL11.glScalef(1.0F, 0.5F, 1.0F); GL11.glScalef(0.75F, 0.75F, 1.0F); Any help?
  4. Thank you very much! I knew about sessions, but I seem to have forgotten that it stores the username in plaintext.
  5. So, I've been writing a mod which requires the username of each player that uses the mod. I'm currently using Minecraft.getMinecraft().thePlayer.getGameProfile().getName(). However, this method only works if the player has loaded into a World, and I need the player username when the game launches. I know that this information is stored somewhere, because the game prints it out as a debug statement. Anyone have any insight?
  6. Yep. Generally, I don't make stupid mistakes like that, I guess I was tired or just derped.
  7. Thanks, that appears to have worked. The reason why it wasn't when I tried that before was I was accessing a different instance of the Config file than was being used.
  8. I've currently got a configuration file being written to, using the line: Consts.hasInitialAudioSetupBeenDisplayed = config.get("Audio", "audioSetup", false).getBoolean(false); How would I set this value in the config file to say, true? I've tried to do the same .get() then a .set(), but it did not work.
  9. I have fixed the issue.
  10. So, I'm trying to just replace certain class files on runtime, not inject into them. Basically, I am thrown an error below when I try to use the mod. Error: http://pastebin.com/hAcK8m9Q However, this shouldn't be happening. The block file in question is And it's loaded from the preinit of the main class: What could be causing this, and how do I fix it?
  11. I'm fairly confident you can, I'm just not sure how to. If it turns out I can't though, I'll go ASM route.
  12. Looks nice, good work, can't wait for release!
  13. What do you mean, fingerprint? If it's open sourced, all you can do to make sure your code isn't stolen is to try to keep track of potential mods using it.
  14. I'd find it useful, but I always use these forums.
  15. I'm modifying base classes without ASM right now. Eventually, I'll transition to that but I can't do that ATM. What I'm doing right now is trying to just install the mod like a 1.5.2 era mod. However, I get this: How can I fix this?

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.