[Tutorial][Free-Code] Instah

Posts 16 of 6 · Page 1 of 1
[Tutorial][Free-Code] Instah
[THIS TUTORIAL IS FOR THE PEOPLE INTERMEDIATE AT CODING]
1:
Add the boolean to your class where your put the booleans/GuiIngame or wUtever, my class file is Smallniggadick. In the Smallniggadick the code that i made is :
"public static boolean Instant = false;"

2:
Open "PlayerControllerMP", search for :
"public void clickBlock(int i, int j, int k, int l)"

3:
Put the Code
Code:
if(Smallniggadick.Instant)
            {
                netClientHandler.addToSendQueue(new Packet14BlockDig(2, i, j, k, l));
                netClientHandler.addToSendQueue(new Packet14BlockDig(0, i, j, k, l));
            }
in the void clickBlock.

4: Make your activator , im doing by chat so, open up
"EntityClientPlayerMP"
and search for
"public void sendChatMessage(String s)"

5: Put the activator in the void ChatMessage:
Code:
if(s.startsWith(".insta"))
  	     {
    		   
  	      Smallniggadick.Instant = !Smallniggadick.Instant;
  	    if(Smallniggadick.Instant)
        {
       	 mc.thePlayer.addChatMessage("Instant Now : \2472On");
        } else
        {
       	 mc.thePlayer.addChatMessage("Instant Now : \2474Off");
        }
  	      return;
  	     }
6: HAVE FUN WITH THE INSTA
also if you want it too click here to the paste bin code

EDIT :
if you have any problem that i can solve/ request, pm or post it then i will do my best to help ya!
[CREDITS FOR ME : Caioma from Team Rain]
Any skid can cp that don't need to be intermediate at java lol
haha true.

skids like me will baws this shit up to anther level
Good job, keeping it skid free.
And thanks
Good work!
Posts 16 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?