Applying effect to player if they have another one too

Started by DianacraftG on

Topic category: Help with modding (Java Edition)

Last seen on 20:25, 24. Dec 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Applying effect to player if they have another one too

Hello! I'm trying to make a mod, and I want to make a procedure, that works this way:

Player gets effect 1 and If they have effect 2, they get effect 3

Currently my procedure that runs when effect 1 is applied looks like

  • If has Event/Target entity active potion 2
  • do    Add poton with level 1 for 60 ticks to Event/Target entity type 3

But I get a warning "Block entity_add_potion is not supported fby the selected generator. It will be skipped". What should I do?