CubeCraft fastclimb

Avatar

By Sms_Gamer 24 March 2019 23:20

Member · 148 comments

It's really easy to code. Here's the code:

            if (mc.thePlayer.isOnLadder() && mc.thePlayer.isCollidedHorizontally && !mc.thePlayer.isSneaking()) {
                //mc.timer.timerSpeed = 5.0;
                if (mc.thePlayer.ticksExisted % 10 == 0 || mc.thePlayer.ticksExisted % 10 == 1 || mc.thePlayer.ticksExisted % 10 == 2) {
                  mc.thePlayer.motionY = 0.7;
                  //mc.thePlayer.jump()
                  vClip(0.1)
                  ladder = true;
                }else if(ladder == true){
              ladder = false;
              mc.timer.timerSpeed = 1.0;
              mc.thePlayer.motionY = 0;
            }
            } else if(ladder == true){
              ladder = false;
              mc.timer.timerSpeed = 1.0;
              mc.thePlayer.motionY = 0;
            }

人間の事私は知らない