Help with making a potion

Started by nechto on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 years ago
Joined Oct 2021
Points:
518

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
Help with making a potion

I'm trying to make a potion which sets entities on fire when the player attacks them. I tried using the when entity attacked global trigger but it does not work at all and if i try to put source entity in my procedure it just says missing dependencies, even though the global trigger should provide it.

Active 5 months ago
Joined Mar 2021
Points:
1013

User statistics:

  • Modifications: 3
  • Forum topics: 37
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 451
Entity attacked: If source…
Sat, 10/30/2021 - 08:52

Entity attacked:

If source entity = player and has active potion effect = your effect

Do: put on fire event

Active 3 years ago
Joined Oct 2021
Points:
518

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
I literally said that even…
Sat, 10/30/2021 - 09:57

I literally said that even if i put entity attacked global trigger it still doesnt let me use source entity and overall completely ignores the trigger

Active 5 months ago
Joined Mar 2021
Points:
1013

User statistics:

  • Modifications: 3
  • Forum topics: 37
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 451
Nah....you make a mistake…
Sat, 10/30/2021 - 14:58

Nah....you make a mistake somewhere

Attach pictures

 

Active 3 years ago
Joined Oct 2021
Points:
518

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
I don't know how to attach…
Sat, 10/30/2021 - 15:40

I don't know how to attach pictures so i can just write the procedure here:

when entity attacked:
set source entity on fire for 10 seconds

and when i try to put this into "On effect active tick" block it says missing dependencies

Active 1 year ago
Joined Oct 2020
Points:
1615

User statistics:

  • Modifications: 0
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1874
if source entity has active…
Sat, 10/30/2021 - 16:47

if source entity has active potion effect: POTION

 do set event target entity on fire for 5 seconds

search before posting

Active 1 year ago
Joined Aug 2021
Points:
622

User statistics:

  • Modifications: 0
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 31
RexCerv is correct, just…
Sun, 10/31/2021 - 05:50

RexCerv is correct, just make sure it is on global trigger entity attacked