Simple thorns potion effect not working

Started by StartouchArts on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Simple thorns potion effect not working

Trying to make a thorns-like potion effect, but whenever I try to add the procedure to any of the custom potion effect's triggers, it says that dependencies are missing and won't allow me to add it as a trigger.

 

My code is:

 

Entity trigger: Entity attacked

If: [Has [event/target entity] active potion: CrystalSpikes]

do: [Deal 2 damage to [Source entity] type: MAGIC]

      [Play at X Y Z Leve 1 Pitch 1 sound : hurt_sweet_berry_bush]

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't think you play…
Sat, 07/23/2022 - 04:39

I don't think you play sounds with a procedure like that. Maybe that's your problem.

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think it should be target…
Tue, 08/16/2022 - 17:32

I think it should be target entity but not sure.