How do I make an item that throws splash potions?

Started by DylianJ on

Topic category: Help with modding (Java Edition)

Last seen on 18:43, 26. Jul 2020
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make an item that throws splash potions?

Hey guys,

I want to create an item that when used throws a splash potion just like when a player uses one.

The problem is that I can't figure out how to make the item throw a splash potion when used, I tried a bunch of different procedures but nothing seems to work.

Can someone help me with this?

Last seen on 14:43, 2. Aug 2022
Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make it shoot an arrow in…
Wed, 01/22/2020 - 18:05

Make it shoot an arrow in the procedure.

Then edit the procedures code and make it say EntityPotion or something like that.