Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6709419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:52:46+00:00 2026-05-26T07:52:46+00:00

I am making some key-binds for my speed-hack. I have part of the key-binds

  • 0

I am making some key-binds for my speed-hack.
I have part of the key-binds done.
This is the error I get
I think it is caused by putting the boolean in the wrong place.

== MCP v4.4 ==

> Recompiling client...
javac -g -source 1.6 -target 1.6 -classpath "lib/:lib/*:jars/bin/minecraft.jar:jars/bin/jinput.jar:jars/bin/lwjgl.jar:jars/bin/lwjgl_util.jar" -sourcepath src/minecraft -d bin/minecraft src/minecraft/net/minecraft/isom/*.java src/minecraft/net/minecraft/client/*.java src/minecraft/net/minecraft/src/*.java  conf/patches/*.java failed.
Return code : 1

== ERRORS FOUND ==

src/minecraft/net/minecraft/src/GuiIngame.java:48: illegal start of expression
public boolean checkKey(int i)
^

src/minecraft/net/minecraft/src/GuiIngame.java:48: ';' expected
public boolean checkKey(int i)
^

src/minecraft/net/minecraft/src/GuiIngame.java:48: ';' expected
public boolean checkKey(int i)
^

CODE

{
    public boolean checkKey(int i)  

    if(mc.currentScreen != null)
    {
        return false;
    }
    if(Keyboard.isKeyDown(i) != keyStates[i])
    {
        return keyStates[i] = !keyStates[i];
    } else
    {
        return false;
    }
}

EDIT
NEW PROBLEM

CODE

Stack overflows formatting is funny so using pasteie
http://pastie.org/2741100

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T07:52:46+00:00Added an answer on May 26, 2026 at 7:52 am

    Change:

    {
        public boolean checkKey(int i)  
    
        if(mc.currentScreen != null)
    

    to:

    public boolean checkKey(int i)  
    {
    
        if(mc.currentScreen != null)
    

    Assuming the rest of your file has proper syntax.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

have my appid and secret key from facebook and i just making some test
I'm making some game, and I have made it pretty much all, but not
I am current making some small JS game in Netbeans and I have started
I making a method that generate a unique string key for some parameters. But
My Django-Project is making some strange faned-out GET calls when opening on model from
I have an application which is making use of the RSACryptoServiceProvider to decrypt some
I'm posting some strings in my Session with the call request.getSession().setAttribute(key, value); And making
See Having Some Issues With Making Pacman to understand this question fully. Just look
While making some final tests of a class-library that I'm writing for Windows Mobile
im making some script with mechanize.browser module. one of problem is all other thing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.