Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 10:20:29 MacroSK Client thread info KEY_L
- 10:20:29 MacroSK Client thread info COUNT++
- -------------------------------LOG--------------------------------
- private int count;
- @SideOnly(Side.CLIENT)
- @SubscribeEvent(priority=EventPriority.NORMAL, receiveCanceled=true)
- public void onTickEvent(TickEvent.ClientTickEvent event) {
- if(event.phase == TickEvent.Phase.END) {
- if (mc.inGameHasFocus) {
- if (keys[3].isKeyDown()) {
- LogHelper.info("KEY_L");
- if(this.count < 5)
- {
- this.count++;
- LogHelper.info("COUNT++");
- }
- else
- {
- LogHelper.info("Execute...");
- this.count = 0;
- Minecraft.getMinecraft().thePlayer.sendChatMessage(Ini.getIni("Loja"));
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement