Problems when trying to add effects to an item

Started by RohrBuerste6417 on

Topic category: Help with MCreator software

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Problems when trying to add effects to an item

Hello, i am new to mcreator and i already tried to find an solution for this but sadly i didn't found it. I am trying to make an mod where i have 5 items (foods) and each of them give different random effects but at the end if i used any item (also from normal minecraft) it just activated all the effects and if i set "No additional trigger" instead of "Player finishes using item" it does nothing other than eating it. Does anyone know how to fix it?

 

 

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In the item settings search…
Fri, 07/19/2024 - 12:54

In the item settings search for the "triggers" Tab, and make a procedure for the trigger "player finishes using item" then make the procedure give the effect you want

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Checked it, on every item…
Fri, 07/19/2024 - 13:05

Checked it, on every item the right procedure is selected and sadly it somehow ignores it i think

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could you send a screenshot…
Fri, 07/19/2024 - 13:08

Could you send a screenshot of the procedure?

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
replace "random number…
Fri, 07/19/2024 - 13:39

replace "random number between min:1 and max:4" with "random number between min:1 and max:4 included"

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks, it works a bit…
Fri, 07/19/2024 - 14:01

Thanks, it works a bit better now, but i just realised while trying to drink the effects away that every item (even milk) activates it, do you also know a fix for that?

https://imgur.com/a/ZW8dPOA

 

 

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
 the global trigger in the…
Fri, 07/19/2024 - 14:15

 the global trigger in the procedure is set to "when player finishes using item" it should be set to "No additional trigger"

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you very much, there…
Fri, 07/19/2024 - 14:28

Thank you very much, there are still issues but 2 of the items are working like i wanted, just 1 more question, is it possible to set the effects infinite? Currently i am in the version 1.20.1 and if you use the command you can set "infinite", is it possible to do that in mcreator?

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
set the number of ticks to -1
Fri, 07/19/2024 - 14:29

set the number of ticks to -1

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks dude, imma try that…
Fri, 07/19/2024 - 14:31

Thanks dude, imma try that out, you really helped me a lot

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you're welcome
Fri, 07/19/2024 - 14:33

you're welcome