So I want to move the hot bar from its current position to be vertical on one of the sides and I understand that in order to do that I have to remove the vanilla hotbar(which I have done) and create a new one. How would I go about doing this?
I have searched through the External Libraries of Forge but I am unable to find anything about the hot bar. Any help is appreciated thanks in advance!
I figured it out, in the end I went with a completely other way of doing this. Because I don't want to be that guy that just leaves an empty post like this. If anyone has the same problem reply here so I can show you my code.
So I am trying to figure out how to use keybinds and when I use this code:
@SubscribeEvent(priority = EventPriority.NORMAL, receiveCanceled = true)
public static void keyPressForCustomGUI(InputEvent.KeyInputEvent event){
//For debug
System.out.println("Key Input Received");
int key = event.getKey();
if (key == 86){
//For Debug
System.out.println("The pressed key was " + key);
}
}
In my ClientEvents class I keep getting double outputs for each of the System.out.prinln s
2 replies
Important Information
By using this site, you agree to our Terms of Use.