SHARE
TWEET

Untitled

a guest Apr 16th, 2018 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 10:20:29    MacroSK Client thread   info    KEY_L
  2. 10:20:29    MacroSK Client thread   info    COUNT++
  3.  
  4. -------------------------------LOG--------------------------------
  5.     private int count;
  6.     @SideOnly(Side.CLIENT)
  7.     @SubscribeEvent(priority=EventPriority.NORMAL, receiveCanceled=true)
  8.     public void onTickEvent(TickEvent.ClientTickEvent event) {
  9.         if(event.phase == TickEvent.Phase.END) {
  10.             if (mc.inGameHasFocus) {
  11.                 if (keys[3].isKeyDown()) {
  12.                     LogHelper.info("KEY_L");
  13.                     if(this.count < 5)
  14.                     {
  15.                         this.count++;
  16.                         LogHelper.info("COUNT++");
  17.                     }
  18.                     else
  19.                     {
  20.                         LogHelper.info("Execute...");
  21.                         this.count = 0;
  22.                         Minecraft.getMinecraft().thePlayer.sendChatMessage(Ini.getIni("Loja"));
  23.                     }
  24.                 }
  25.             }
  26.         }
  27.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top