Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Bowtruckle_HD

Members
  • Joined

  • Last visited

Everything posted by Bowtruckle_HD

  1. Ok, I'll try that, htx
  2. Is there any way to fix that?
  3. 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
  4. 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
  5. Ok, I registered it now, but it is still not calling the vents. The code is on github if you need it
  6. I Followed A Tutorial which did this. But I'm Gonna Use that one now
  7. 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
  8. You mean like this?,when I do that i get the error messageCannot register a generic Event listener with addlistener
  9. Hi, I made a capability, but my CapabilityEventHandler wont activate the events. I added the code down below. GodsMod.java PlayerInfoEventHandler.java
  10. 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
  11. 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
  12. 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) { }
  13. 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
  14. Ok, I got it working, but there are still the particles at my feet and the shadow of the player. Any Events I can turn it off with?
  15. I think that I can figure this out myself, only one thing, which event do I use to get when a player presses a key?
  16. ok and can you tell me how to cancel it only when a player presses a button? Like do I have to use capabillities?
  17. Hello, I'm fairly new to modding and I was trying to make a player invisible, when he presses the key "g". I set up the KeyboardKeypressed event, its probably not the right way, because you cant change the keybind, but i wanted to learn , how to make a Player invisible first. Sadly I cant seem to get the Player from the event. Could anyone give me a rough explanation, on what to do and where to start? I dont just want the code, but some explanation too, so I can learn from it. I posted my Code down below, but it is not much. Thx in Advance @SubscribeEvent public void onPlayerRender (GuiScreenEvent.KeyboardKeyPressedEvent event) { if(event.getKeyCode() == 71) { } }

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.