Hello, I've been spending alot of time just to get my keybinds to work. This is the idea. My entity can teleport to where you are looking at, the codes for them are in a method called teleport(). I have this in my main mod file.
And this is my KeyHandler.
In case you may wonder what the teleport() is, here it is also.
I can change the controls fine, but it doesn't work when I actually press the button. Help please?