Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(net.minecraft.yugecin.Main.herp){
- net.minecraft.yugecin.Main.herptimer++;
- if(net.minecraft.yugecin.Main.herptimer >= 3){
- if(net.minecraft.yugecin.Main.herp) sendQueue.addToSendQueue(new Packet12PlayerLook((0 + (int)(Math.random()*100000))/100, (0 + (int)(Math.random()*100000))/100, onGround));
- if(0 + (int)(Math.random()*3) == 2){
- sendQueue.addToSendQueue(new Packet18Animation(this, 1));
- }
- net.minecraft.yugecin.Main.herptimer = 0;
- }
- }
- //############################
- Find& replace where necessary
- if (ridingEntity != null)
- {
- if (flag3)
- {
- sendQueue.addToSendQueue(new Packet11PlayerPosition(motionX, -999D, -999D, motionZ, onGround));
- }
- else
- {
- sendQueue.addToSendQueue(new Packet13PlayerLookMove(motionX, -999D, -999D, motionZ, rotationYaw, rotationPitch, onGround));
- }
- flag2 = false;
- }
- else if (flag2 && flag3)
- {
- sendQueue.addToSendQueue(new Packet13PlayerLookMove(posX, boundingBox.minY, posY, posZ, rotationYaw, net.minecraft.yugecin.Main.derp ? 540 : rotationPitch, onGround));
- timeSinceMoved = 0;
- }
- else if (flag2)
- {
- sendQueue.addToSendQueue(new Packet11PlayerPosition(posX, boundingBox.minY, posY, posZ, onGround));
- timeSinceMoved = 0;
- }
- else if (flag3)
- {
- sendQueue.addToSendQueue(new Packet12PlayerLook(rotationYaw, net.minecraft.yugecin.Main.derp ? 540 : rotationPitch, onGround));
- timeSinceMoved = 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement