HELP: If player has tag?

Started by Moxxi on Fri, 05/21/2021 - 19:03

Topic category: Help with modding (Java Edition)

Last seen on 17:47, 27. Jun 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
HELP: If player has tag?
Fri, 05/21/2021 - 19:03

Hey! I was just wondering if it's possible to make an if/else statement which looks for if a player has been tagged.

If anyone knows how to do this, please tell me!

Last seen on 03:48, 27. Jun 2021
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Hm, you say like If NBT…
Fri, 05/21/2021 - 19:59

Hm, you say like If NBT_Player exist do something?

Last seen on 17:47, 27. Jun 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I need a statement similar…
Sat, 05/22/2021 - 07:18

I need a statement similar to the /execute if entity @e[tag=test] command.

I've tagged the player with the /tag @p test , and now I need a procedure to execute if there is a player with the tag test