Eating while having an effect does something

Started by LukeyDukey on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Eating while having an effect does something
Mon, 05/27/2024 - 01:32 (edited)

I'm making a mod about cheese and I added a potion effect called lactose intolerant. I was wandering if I could make it so that when you have the effect, if you eat cheese (custom element) or drink milk, the player would explode or an item would drop or something. I just need to make it detect that you ate either of the items while the effect is on. I'm new to mcreator so if this is something obvious, my bad.

Edited by LukeyDukey on Mon, 05/27/2024 - 01:32
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In this procedure, if the…
Sun, 05/26/2024 - 19:37

In this procedure, if the player eats cooked chicken and has the night vision effect, a stone block will spawn under his feet

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I did it correctly and I'm…
Mon, 05/27/2024 - 02:07

I did it correctly and I'm not sure what I did wrong, but it doesn't work

 

 

 

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you give a screenshot?
Mon, 05/27/2024 - 07:26

Can you give a screenshot?

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I also need help with the…
Mon, 05/27/2024 - 15:20

I also need help with the whole "provided itemstack" thing. I can't seem to get it to work to set item nbt's, I hope we can find solutions.