Minecraft mining

Posts 14 of 4 · Page 1 of 1
Minecraft mining
I was directed by someone ( Lord pankake I believe ) to look at playercontrollerMP, but I don't know how to use these things.
I tried something like this.
Code:
		if(mc.objectMouseOver != null){		
		 blockX = mc.objectMouseOver.blockX;
		 blockY = mc.objectMouseOver.blockY;
		 blockZ = mc.objectMouseOver.blockZ;
		 sideHit = mc.objectMouseOver.sideHit;
		 mc.playerController.clickBlock(blockX, blockY, blockZ, sideHit);
		 mc.playerController.onPlayerDamageBlock(blockX, blockY, blockZ, sideHit);


		}
but that doesn't work when not in a gui. When I have menu open it works, but I have to close the menu before it finishes.
What am I doing wrong?
Wait, you mean on the HF thread?

Anyways what is your goal? Are you trying to make a fastbreak?
No, an auto miner and later something more. I would like to do it without using the robot class though.
There's something in minecraft.java that checks if you're hovering over a block. I'll check the code when I can later. Using that you can try playing around with block coordinates and packets. (Use the digging packet's constructir for different sequences in breaking).
Posts 14 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?