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.

Featured Replies

  • Author

yeah ive tried different things and nothing is working so far, what am I missing?

 

Edit: yeah im just really not sure why it wont work, its like the game will only allow one item to work no matter what.

Im serious don't look at it!!

It's like I told you all that stuff and you only focused on fixing one thing. There is a reason why that all was written.

 

Your code does same stuff milion times, not really thing I want to look deep into. You chanve repeating chaines if statements. Unclear actions, again - repeating code.

 

Stop using events for this. This is NOT the right way to to work with custom item effects. Events are for not-your-mod-stuff.

 

As to bumps - I mean, my guesss would be at least N*12h (minimum work/sleep cycle, where N is repeating bump number, lol).

 

 

Other:

if (hasItem == true) - really? just do if (hasItem).

 

Finally to problem:

Read the damn tutorial AND Vanilla code.

You declared 4 different modifiers with different names, yet same UUID.

You need to handle each modifier on its own.

e.g: buff1 (10.0D), buff2 (20.0D), buff3 (30.0D) where each would be checked separately.

I guess (quick look) you can also have 4 modifiers using SAME name and UUID and operation, and just have different value, idk for sure tho.

1.7.10 is no longer supported by forge, you are on your own.

  • Author

wow, im getting better at this sorta thing but my progression compared to others over the last three months does not seem to match others, although I have not met/chated with anyone with such little experience in the minecraft field/java. but thank you I cant believe it was as simple as different uuids :P yeah sorry for the inconvenience. THANKS TO ALL

Im serious don't look at it!!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.