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.

Noxyper

Members
  • Joined

  • Last visited

Everything posted by Noxyper

  1. Well, I suppose I could've done that, but when an even less experienced programmer(me) comes for help, he doesn't understand the answers. Sorry Ben, could you evaluate so I understand?
  2. Well, I don't want to call the method at everyone wearing the certain set of armor, so I need to call it only at the guy who actually pressed 'I'.
  3. Good evening, ladies and gentlemen of minecraftforge.net! I've come to you today to ask you for one thing. Help. You see, I've been having troubles with my mod and I got a message from a certain UberAffe on minecraftforum.net to get help from here as he currently is unavailable to help me. What I want to do is to update a method in my armor class on the server side, and for that I need a packet. The packet has been made, but my trouble is to call it. The simple process here is that you press the letter 'I' and you'll turn invisible. The advanced one is that you press the letter 'I,' the KeyHandler sends a message to my packet, updates my method on the server side and I turn invisible. My problem here is to send a message. How do I call the UUID in a keyhandler method? My current code would work, but it is asking for a GameProfile, which I don't know where to get. If you need the code, my github code is here below: MainClass.class https://github.com/BlackHyp3r/GnC/blob/master/MainFile Armor.class https://github.com/BlackHyp3r/GnC/blob/master/NexiteTankArmor Message.class (w/ Handler.class) https://github.com/BlackHyp3r/GnC/blob/master/Message%2BHandler EventHandler.class https://github.com/BlackHyp3r/GnC/blob/master/EventListener Hope you'll be able to help! P.S. If you need to look at the original forum post, link is below http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/modification-development/2504527-armor-with-special-powers?page=2#c21

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.