maxive1234 (05-13-2013),Yesitics (01-07-2017)
I'm bored. Have some poorly coded source.
For autosoup: YourClassNameHere.Handle();Originally Posted by random guy
For criticals: As I mentioned in the spoiler, just put it in the section where it detects nearby entities
For click aim: In minecraft.java look for clickMouse. In that void, if the argument is 0 remove the clicking function and call YourClassNameHere.ClickAim();
Last edited by LordPankake; 05-14-2013 at 01:23 PM.
maxive1234 (05-13-2013),Yesitics (01-07-2017)
I'm sure this would be helpful for coders, nice job!
A Tutorial On How To Put These Into A Client Would Be Nice (Suggestion )
500 Posts ✓
750 Posts ✓
1,337 Posts ✓
2,000 Posts ×
3,000 Posts ×
Ex VIP
Ex Resource Team Member
Ex Wiki Editor
cacapipipupu (06-17-2014),TeamFatalMC (06-27-2014)
I renamed the packages to l.e.l.g.h.e.y and it censored it XD
They're necessary if you put the file into a package, so sort of.
I'm not too sure what you're asking here. How do you activate it? IF that is the question, take your standard checkkey tutorial for toggling booleans, and when the boolean is true, call Handle();
@>People other than Goku<
Here's the easiest way.
LeBooleanClass.LeBoolean = !LeBooleanClass.LeBoolean;
And if it's an xray you're making you need to add mc.theWorld.loadRenderers(); //something similair to this, it rerenders the world to activate xray or any render mod that requires a update.
That or if you only want to fire a mod once just call a void in the {}'s.
Last edited by LordPankake; 05-14-2013 at 04:13 PM.
This is my code. Can you help?
Where do i put and how do i put in AutoSoup.Code:else{ drawRect(2,2,230,14, 0xaf424242); var8.drawStringWithShadow("Hamish's Hack v0.3 Press 'Y' For Menu!",4,4,0xaabb); } if(checkKey(Keyboard.KEY_Y)){ mods.menu = !mods.menu; } if(checkKey(Keyboard.KEY_F)){ mods.fly = !mods.fly; } if(checkKey(Keyboard.KEY_N)){ mods.nofall = !mods.nofall; } if(checkKey(Keyboard.KEY_B)){ mc.renderGlobal.loadRenderers(); mods.fb = !mods.fb; } if(checkKey(Keyboard.KEY_X)){ mc.renderGlobal.loadRenderers(); mods.xray = !mods.xray; } if(checkKey(Keyboard.KEY_LCONTROL)){ mods.zoom = !mods.zoom; } if(checkKey(Keyboard.KEY_C)){ mods.chest = !mods.chest; } if(checkKey(Keyboard.KEY_R)){ mods.aura = !mods.aura; } if(checkKey(Keyboard.KEY_O)){ mods.sneak = !mods.sneak; } if(checkKey(Keyboard.KEY_G)){ mods.speed = !mods.speed; } if(checkKey(Keyboard.KEY_H)){ mods.jump = !mods.jump; } if(checkKey(Keyboard.KEY_B)){ mods.step = !mods.step; } if(checkKey(Keyboard.KEY_P)){ mods.soup = !mods.soup; } if(mods.menu){ drawRect(2,16,130,135, 0xaf424242); var8.drawString("Menu:",4,18,0xDDA0DD); if(!mods.fly){ var8.drawStringWithShadow("\2474F = Fly [OFF]",4,30,0xaabb); } if(!mods.nofall){ var8.drawStringWithShadow("\2474N = NoFall [OFF]",4,40,0xaabb); } if(!mods.xray){ var8.drawStringWithShadow("\2474X = Xray [OFF]",4,50,0xaabb); } if(!mods.fb){ var8.drawStringWithShadow("\2474B = FullBright [OFF]",4,60,0xaabb); } if(!mods.zoom){ var8.drawStringWithShadow("\2474L-CTRL = Zoom [OFF]",4,70,0xaabb); } if(!mods.chest){ var8.drawStringWithShadow("\2474C = ChestESP [OFF]",4,80,0xaabb); } if(!mods.aura){ var8.drawStringWithShadow("\2474R = KillAura [OFF]",4,90,0xaabb); } if(!mods.sneak){ var8.drawStringWithShadow("\2474O = Sneaker [OFF]",4,100,0xaabb); } if(!mods.speed){ var8.drawStringWithShadow("\2474G = Speedy [OFF]",4,110,0xaabb); } if(!mods.jump){ var8.drawStringWithShadow("\2474H = High Jump [OFF]",4,120,0xaabb); } if(!mods.step){ var8.drawStringWithShadow("\2474B = Step [OFF]",4,130,0xaabb); } //put here otherwise if(mods.fly){ var8.drawStringWithShadow("\2472F = Fly [ON]",4,30,0xaabb); } if(mods.nofall){ var8.drawStringWithShadow("\2472N = NoFall [ON]",4,40,0xaabb); } if(mods.xray){ var8.drawStringWithShadow("\2472X = Xray [ON]",4,50,0xaabb); } if(mods.fb){ var8.drawStringWithShadow("\2472B = FullBright [ON]",4,60,0xaabb); } if(mods.zoom){ var8.drawStringWithShadow("\2472L-CTRL = Zoom [ON]",4,70,0xaabb); } if(mods.chest){ var8.drawStringWithShadow("\2472C = ChestESP [ON]",4,80,0xaabb); } if(mods.aura){ var8.drawStringWithShadow("\2472R = KillAura [ON]",4,90,0xaabb); } if(mods.sneak){ var8.drawStringWithShadow("\2472O = Sneaker [ON]",4,100,0xaabb); } if(mods.speed){ var8.drawStringWithShadow("\2472G = Speedy [ON]",4,110,0xaabb); mc.thePlayer.landMovementFactor = 1.05F; } if(mods.jump){ var8.drawStringWithShadow("\2472H = High Jump [ON]",4,120,0xaabb); } if(mods.step){ var8.drawStringWithShadow("\2472B = Step [ON]",4,130,0xaabb); }
If you can, please tell me what i have to do elsewhere to get AutoSoup to work!
heres my mods.java i made....
TBH i dont know what much of this does.Code:package net.minecraft.src; public class mods { public static boolean menu = false; public static boolean nofall = false; public static boolean fly; public static boolean xray; public static boolean fb; public static boolean zoom; public static boolean chest; public static boolean aura; public static boolean sneak; public static boolean speed; public static boolean jump; public static boolean step; public static boolean soup; }
Do i make a new class in net.minecraft.src for autosoup?
Do i make a new package?
Any help is appreciated!
If anyone can help ill give rep and or thanks.
THANK YOU!
newb out
You should talk yourself through it. That's how I made autosoup.
"If my health is below 16, I want to switch to my soup. Then I want to use the item, then switch back to my weapon."
With that in mind, you have a pretty good idea of what needs to be written.
If you want to have an optimal setup, yes, but with what you have so far, no. It can stay in net.minecraft.src.
The first thing I noticed was that this is all in the GuiIngame (That was my old tutorial, I know. It's the begginer tut). While there is no problem with that, it's not the cleanest code and not easiest to update.
Optimally, you won't ever have to touch GuiIngame, but for a first try it's perfectly ok to use it. (If you do wish to use a easy to update version however, here's a link to a tutorial to do so)
Ok, since your code is all in the default package I'd reccomend making a new class called "Soup"
then in your GuiIngame
That's all you need to do for auto-soup. The class itself should take care of the rest.Code:if(mods.soup) { Soup.Handle(); }
hamste (05-15-2013)
Okay! Ill try it tonight when I get home.
Thanks!
Works! Thanks a bunch.
Ill share my client just for feedback.
Thanks!
I need someones help, I just want to add autosoup with a button activation into my minecraft.jar with no pop up/gui just one simple thing.
If anyone can help me, add my on skype please, iCorleyy
Yesitics (01-07-2017)