Everything posted by Rainfur
-
Logging in?
Sure, it sets your ingame name, but if you look in the console, it will not give you a session.
-
Logging in?
I am aware of this. However, this doesn't actually go and auth. with the Mojang servers and does not give you a session.
-
Images and info[FIXED]
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.
-
Logging in?
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?
-
[SOLVED]Checking item in hand and onRightClick
Thanks. ^.^
-
[SOLVED]Checking item in hand and onRightClick
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.
-
[SOLVED]Checking item in hand and onRightClick
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.
-
[SOLVED]Checking item in hand and onRightClick
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).
-
[SOLVED]Checking item in hand and onRightClick
That helped, but the block in question is a vanilla MC block.
-
[SOLVED]Checking item in hand and onRightClick
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).
-
[SOLVED]Checking item in hand and onRightClick
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.
-
Getting Mod Ready for Release
Thank you, that seemed to work.
-
Getting Mod Ready for Release
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?
IPS spam blocked by CleanTalk.