Hello, I have made an onPlayerMoveEvent, which turns the Player Invisible when he isn't moving, but it flickers weirdly sometimes. Could anyone look at the Code?
I posted my gitHubLink below.
https://github.com/Bowtrucklehd/Modding
Thanks to you I figured it out. i'm gonna mark this as solved now. Btw. Thank you guys very much for helping newbies like me figuring this modding stuff out, it really helps
Sorry about that, did not think any of it. Thats my link, but I'm noot used to Github, so I'm not surei f it works https://github.com/Bowtrucklehd/Modding.git
Hi, I'm trying to create an onPlayerMove event and I need to save the Players last position in a capability. Now I'm not sure when to attach it to the Player, my idea was to attach it when he joins(but that would fire every time he joins and I don't think thats necessary). Anyone could help me with that? thank you in advance
I'm sorry, that was my bad, i didnt notice i used Tickevent instead of e. Thats why I was so confused. But thank you anyways. I started to question my Java knowledge myself
Hi, i think the Title is explaining my problem, I never worked with Enums before, and I just dont get How to check if the Phase is End. I post the things I tried down below. Its probably just something I understood wrong.
if(TickEvent.Phase instanceof TickEvent.Phase.END) { }
if(TickEvent.Phase == TickEvent.Phase.END) { }