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.

Zillex_

Members
  • Joined

  • Last visited

Everything posted by Zillex_

  1. "if(event.entity.getUniqueID().equals(74a1dcea-1946-45a9-a373-5f1b211f4d07))" gives an error so I tried something else
  2. not what I meant, I am a beginner but usually know what I'm doing but I thought, hey lets go on the forums for help instead of taking a couple hours to figure it out on my own, but all you're giving me is the same statement in different ways
  3. thanks but its late and I understand nothing so I did this: if(event.entity.getUniqueID().compareTo(74a1dcea-1946-45a9-a373-5f1b211f4d07 == 74a1dcea-1946-45a9-a373-5f1b211f4d07)) ik I'm doing something wrong but only worked with uuids a few times
  4. okay but how do I compare the uuids with the forge api the only function compareTo(UUID) which says it takes in a byte but as you mentioned I can't get a byte to a UUID or can I? I'm not fluent in the forge api so what do I pass inside the compareTo(UUID) a byte or a UUID?
  5. this still doesn't help me, i know basic java, I have made plugins for servers before. This is my first week with the forge api, so will you help? or just give me more elusive statements
  6. sorry for the bump, and yes I accidentally ignored the warning woops. but what do I do, you didn't give me a fix?
  7. this plays when not checking the uuid but when it checks it the sound doesn't play, any suggestions? code:
  8. But how will i know his uuid? or even mine for that matter
  9. I'd rather not use that because I'm making the mod for a specific person who wants it to only play when they die and not for others
  10. I'm no expert, I have just posted my own problem, but I would suggest checking your directory eg: make sure there is an assets folder, make sure the .json is valid etc, take my advice with a grrain of salt though as i said I'm no expert
  11. Hello, this is a really simple problem. when I use ClientChatReceivedEvent my chat completely stops working, I can type but nothing shows up. all I'm trying to do is play a sound when the server says something eg: Zillex_ was killed by etc. thanks for your answers
  12. Edit: I have everything working, now all i need to do is register more than one sound lol Edit 2: I now have everything working properly, thanks guys Edit 3: everything works, when i chat, but if the server says that i was killed it does nothing
  13. Edit 2: I now have succesfully loaded the mod through eclipse, but no sound yet
  14. check next post
  15. Thanks lars, I'm developing a private mod and wasn't sure if the person i made it for wanted his name in there I'll test out your suggestion. also here is the crash report: The game crashed whilst initializing game Error: java.lang.NullPointerException: Initializing game Edit I still hear no sounds and the mod still doesn't appear here is my new directory and sounds.json
  16. Hi everyone, I know this is going to be really simple but i can't seem to figure it out. First problem is that my mod doesn't appear when run with eclipse and crashes when built into a .jar with gradlew build. second problem is the main problem I think my file structure is correct but in theory it should play a sound when a message in chat is said "Player was killed by" it doesn't do anything, no errors in console or anything, again I think this stems from the first problem of it not appearing. Now I will add screenshots of code/filestructure:

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.