SHARE
TWEET

Untitled

a guest Apr 21st, 2017 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. LATEST NCP NOSLOWDOWN BYPASS! (NO JUMP)
  3.  
  4.  
  5. @Module.Mod(displayName = "No Slowdown")
  6. public class NoSlowdown extends Module
  7. {
  8.     @Option.Op
  9.     public boolean vanilla;
  10.     public static boolean wasOnground;
  11.    
  12.     static {
  13.         NoSlowdown.wasOnground = true;
  14.     }
  15.    
  16.     @EventTarget
  17.     private void onItemUse(final ItemSlowEvent event) {
  18.         event.setCancelled(true);
  19.     }
  20.    
  21.     @EventTarget(4)
  22.     private void onUpdate(final UpdateEvent event) {
  23.         if (!this.vanilla && ClientUtils.player().isBlocking() && (ClientUtils.player().motionX != 0.0 || ClientUtils.player().motionZ != 0.0) && NoSlowdown.wasOnground) {
  24.             if (event.getState() == Event.State.PRE) {
  25.                 ClientUtils.packet((Packet)new C07PacketPlayerDigging(C07PacketPlayerDigging.Action.RELEASE_USE_ITEM, BlockPos.ORIGIN, EnumFacing.DOWN));
  26.             }
  27.             else if (event.getState() == Event.State.POST) {
  28.                 ClientUtils.packet((Packet)new C08PacketPlayerBlockPlacement(ClientUtils.player().inventory.getCurrentItem()));
  29.             }
  30.         }
  31.         if (!new Speed().getInstance().isEnabled() || !(boolean)((Speed)new Speed().getInstance()).latest.getValue()) {
  32.             NoSlowdown.wasOnground = ClientUtils.player().onGround;
  33.         }
  34.     }
  35. }
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top