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

Everything posted by Rainfur

  1. Rainfur replied to Rainfur's topic in Modder Support
    Sure, it sets your ingame name, but if you look in the console, it will not give you a session.
  2. Rainfur replied to Rainfur's topic in Modder Support
    I am aware of this. However, this doesn't actually go and auth. with the Mojang servers and does not give you a session.
  3. I used to be able to do this in 1.5.2, but since then the following things have been removed: mc.renderEngine.allocateAndSetupTexture(skinCropped)); img = ModLoader.loadImage(minecraft.renderEngine, playerSkin.toString()); minecraft.renderEngine.setupTexture(img, imgID); int tempVar = minecraft.renderEngine.getTexture(playerSkin.toString()); What can I use instead of these? In addition, how do I get the base minecraft directory, because the skins were downloaded into a folder called dlskins, but because mc.getMinecraftDir() doesn't exist, I no longer know how to do that.
  4. Rainfur posted a topic in Modder Support
    How do I actually log in with eclipse? I've tried supplying username and password in the launch configuration, but that does not seem to actually log into the server. (I get bad logins, and my username is the email I entered, migrated account). I cannot make a new session in Minecraft.java, that does not appear to work either. Editing Start.java does not either. Any suggestions?
  5. That helped, but my item(s) are vanilla. I would like to just use a MouseListener from OpenGL, would that work and just check the item when it detects something then? Could you also explain a bit more on the ray tracing method? Didn't follow very well there.
  6. What I thought I could do is setup a MouseListener for right clicks, then check the item in the player's hand. (mc.thePlayer.something perhaps). Not sure how I'd get the block right clicked though. Any suggestions? Or the block replacement.
  7. I need to check what item is in the player's hand. If it is (insert whatever item here), check if it is right clicked on a block. If it is, then check to see if the block is (insert whatever block here). If it is, replace said block with (insert whatever block here).
  8. That helped, but the block in question is a vanilla MC block.
  9. Didn't help a whole lot, maybe this will help: I need to check what item is in the player's hand. If it is (insert item here), check if it is right clicked on a block. If it is, then check to see if the block is (insert block here). If it is, replace said block with (insert block here).
  10. So, coming from a ModLoader background, I've discovered my previous method from 1.2.5 doesn't work at all. How would I: 1) Check what item is in the player's hand 2) How can I implement the Forge equivalent of ML's onRightClick 3) How can I get the block right clicked so I can modify it, replace it, etc.
  11. Thank you, that seemed to work.
  12. I've coded my mod, however, what do I do to package it into a usable jar for forge? It also requires an external archive (.jar as well) to be used, how do I package those in as well?

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.