Entity throws potions

Started by UVAJAEMYI on

Topic category: Help with MCreator software

Last seen on 07:54, 1. Nov 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity throws potions

Hi, I want to make a procedure in which a mob throws potions at the player, like a witch. How can this be done?

Last seen on 02:20, 23. Jul 2024
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could make a ranged item…
Mon, 09/06/2021 - 03:55

You could make a ranged item that looks like a potion, and make your mob hold that item. and every once in a while, the mob will throw it (you can change this in a custom procedure or AI). When the ranged item hits a block or entity, it triggers a procedure to give any entity in a specific range/any mob that took a direct hit to get the potion effect you want to use. and make sure not to shoot the ranged item too fast or far.