Need help with adding a potion effect to an item

Started by TGWDS on Mon, 04/26/2021 - 02:26

Topic category: Help with modding (Java Edition)

Last seen on 00:51, 3. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Need help with adding a potion effect to an item
Mon, 04/26/2021 - 02:26

I need help with createing an item that when held gives you a potion effect. I'm new to creating MC Java mods, and I'm not sure on what blocks i would use go get what I need. Thanks in advance.

Last seen on 04:28, 4. Jun 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
on player update tick if has…
Mon, 04/26/2021 - 05:54

on player update tick

if has item in main hand=(your custom item"

do add potion effect blah blah