Jump to content

Recommended Posts

Posted

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.

Posted

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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