1
Making a mod use key board keys
i am sort of confused on something. if i want to make an item do something when you press a certain key what do i do? im using modloader
Create an account or sign in to comment.
8
1
Gosh, learn Java and do some basic programmering and than move on to advanced. That's what I spent five years on, been programmering since I was nine, I'm almost sixteen now.
1
You should learn the basics of java. Seriously.
It's very simple, Import the Input class and create an object from it. Then use an if statement with it. Calling the class is pretty simple, (Input object name).Key_(key)
It's very simple, Import the Input class and create an object from it. Then use an if statement with it. Calling the class is pretty simple, (Input object name).Key_(key)
1
i dont know im not a modder go on the mods page and ask some high level modders
1
would someone help me
1
i believe something like that
1
Are you talking about macros?
1
if i want to make a item that when you are holding it and you press "r" for example it for example changes the weather
1
what do you mean by this