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.

pogo4545

Members
  • Joined

  • Last visited

Everything posted by pogo4545

  1. I am not using Modloader... I see how you think I am using modloader. You didn't notice that the code has /* */ around it. I was using modloader, but I changed over recently.
  2. When I try to add my mod to the mindcrack modpack I get this error. java.lang.IllegalAccessError: tried to access class ava from class com.lcsurvival.pogo4545.toolkit.KeyBindingHandler The Classes code: Anyone know how to fix this error? I tried everything I could
  3. Thanks bro, it worked!
  4. So I am having issues with more then 1 key bind. Below is my code package com.lcsurvival.pogo4545.toolkit; import java.util.EnumSet; import net.minecraft.client.Minecraft; import net.minecraft.client.multiplayer.PlayerControllerMP; import net.minecraft.client.settings.KeyBinding; import net.minecraft.server.management.PlayerManager; import net.minecraft.src.ModLoader; import org.lwjgl.input.Keyboard; import cpw.mods.fml.client.FMLClientHandler; import cpw.mods.fml.client.registry.KeyBindingRegistry.KeyHandler; import cpw.mods.fml.common.TickType; public class KeyBindingHandler extends KeyHandler{ public static KeyBinding login = new KeyBinding("Login", Keyboard.KEY_L); public static KeyBinding fkjoin = new KeyBinding("1", Keyboard.KEY_J); //public static KeyBinding login = new KeyBinding("Login", Keyboard.KEY_L); //public static KeyBinding login = new KeyBinding("Login", Keyboard.KEY_L); //public static KeyBinding login = new KeyBinding("Login", Keyboard.KEY_L); public static KeyBinding[] arrayOfKeys = new KeyBinding[] {login}; public static boolean[] areRepeating = new boolean[] {false}; public KeyBindingHandler() { super(arrayOfKeys, areRepeating); } @Override public String getLabel() { return "LCTK KeyBindings"; } @Override public void keyDown(EnumSet<TickType> types, KeyBinding kb, boolean tickEnd, boolean isRepeat) { if (tickEnd) { if(kb.keyCode == login.keyCode) { LoginSystem.loginInit(); } if (kb.keyCode == fkjoin.keyCode)//J { CommandHandler.fakeJoin(); } } } @Override public void keyUp(EnumSet<TickType> types, KeyBinding kb, boolean tickEnd) { } @Override public EnumSet<TickType> ticks() { return EnumSet.of(TickType.CLIENT); } } Whenever I try to add another keybind (fkjoin) like this public static KeyBinding[] arrayOfKeys = new KeyBinding[] {login, fkjoin}; public static boolean[] areRepeating = new boolean[] {false}; login works but fkjoin doesn't. Anyone know what I am doing wrong? Is it in the wrong spot or something?

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.