Jump to content

Bowtruckle_HD

Members
  • Posts

    20
  • Joined

  • Last visited

Bowtruckle_HD's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. 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
  2. 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
  3. Ok, I registered it now, but it is still not calling the vents. The code is on github if you need it
  4. I Followed A Tutorial which did this. But I'm Gonna Use that one now
  5. 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
  6. You mean like this?,when I do that i get the error messageCannot register a generic Event listener with addlistener
  7. Hi, I made a capability, but my CapabilityEventHandler wont activate the events. I added the code down below. GodsMod.java PlayerInfoEventHandler.java
  8. 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
  9. 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
  10. 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) { }
  11. Ok, thank you both very much, I did apply the invisibility effect and it works well now. I'm gonna mark this post as solved now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.