does anyone know how to make it so that when i tame an entity it gives the player a potion effect

Started by mop3563567 on Thu, 02/23/2023 - 04:06

Topic category: Help with modding (Java Edition)

Last seen on 07:19, 26. Feb 2023
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
does anyone know how to make it so that when i tame an entity it gives the player a potion effect
Thu, 02/23/2023 - 04:06

Does anyone know or have any ideas on how to make it so that when I tame an entity it gives the player a potion effect.

Last seen on 15:48, 1. Jun 2023
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a Procedure with theseā€¦
Thu, 02/23/2023 - 14:50

Make a Procedure with these Blocks:

event/target entity is the tamed Entity and the Source entity is the owner of the tamed entity. With the If statement it checks which entity is tamed. Inside the do Section you can specify any Event that should be happen.