Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ImNotSwarley

Members
  • Joined

  • Last visited

Everything posted by ImNotSwarley

  1. Solved: @SubscribeEvent public void onPlayerTick(TickEvent.PlayerTickEvent event) { if(Status == true){ KeyBinding.onTick(Minecraft.getMinecraft().gameSettings.keyBindAttack.getKeyCode()); }
  2. Hey, i tried different ways to force player to hold down left click but i couldn't acquire what i wanted, here are the ways i tried to do: I put that code on scheduled timer (Did not work): package com.example.examplemod; import net.minecraft.client.Minecraft; import net.minecraft.client.settings.KeyBinding; import java.util.TimerTask; public class LeftClick extends TimerTask { @Override public void run() { long oldTime = System.currentTimeMillis(); while (System.currentTimeMillis() - oldTime < 33000) { KeyBinding.onTick(Minecraft.getMinecraft().gameSettings.keyBindAttack.getKeyCode()); } try { Thread.sleep(0); } catch (InterruptedException e) { e.printStackTrace(); } } } Tried that and did not work either: KeyBinding.setKeyBindState(keyCodes[0], true); Tried to loop that and the game just crashed right away: KeyBinding.onTick(Minecraft.getMinecraft().gameSettings.keyBindAttack.getKeyCode()); and few other things :/.

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.