Need help with adding a potion effect to an item

Started by TGWDS on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined Apr 2021
Points:
579

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
Need help with adding a potion effect to an item

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.

Active 2 years ago
Joined Mar 2021
Points:
671

User statistics:

  • Modifications: 0
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 56
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