Welcome on MasterOf13FPS! MasterOf13FPS

Register today or sign up if you are already a member and never miss any cool content again :)

Client Fake Autoblock

jrndbd

New member
Joined
Oct 13, 2021
Messages
10
Reaction score
0
Points
0
Hello all, I was wondering if anyone knows how to program a fake autoblock.

I would appreciate an answer with an example :)
 
one of the ways you make a fake autoblock is to render the autoblock animtion while aura is on, but you arent actually blocking. You can do this in itemrenderer under the renderItemInFirstPerson method. under the switch statement with the DRINK, BLOCK, BOW, etc, you should see this

else
{
this.func_178105_d(f1);
this.transformFirstPersonItem(f, f1);
}

inside of there check if aura is enabled and if so, render the block animation. make sure to put the

this.func_178105_d(f1);
this.transformFirstPersonItem(f, f1);

in an else statement. so like

if(aura.isenabled()){
do block animation
} else {
this.func_178105_d(f1);
this.transformFirstPersonItem(f, f1);
}

you also have to check if the player is actually attacking so it isnt constantly blocking
 
Hello all, I was wondering if anyone knows how to program a fake autoblock.

I would appreciate an answer with an example :)
mc.thePlayer.setItemInUse(mc.thePlayer.getHeldItem(), 32767);
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top