How to make "tags" work?

Started by jeżyk on

Topic category: Help with Minecraft modding (Data Packs)

Joined Dec 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make "tags" work?

I made an command "execute if block ~ ~-1 ~ #minecraft:small_plant at @e[tag=Spread] run tp @s[tag=Spread] ~ ~-2 ~" in minecraft it works, but in Mcreator the "#" makes the text behind it to just be info (if you understand), and now I don't know how to make it work (exept making like 20 similar commands, but I think it would destroy the FPS). Could somebody help me?

in minecraft it works, but…
Tue, 12/16/2025 - 15:25

in minecraft it works, but in Mcreator the "#" makes the text behind it to just be info

I am not sure what you mean with this, # is not a comment in Java.

Can you share some screenshots or a video of what you mean?

Joined Dec 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This will not work: but in…
Tue, 12/16/2025 - 18:22

This will not work:
DOESN'T WORK

but in minecaft, it works:
WORKS

Joined Dec 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks!
Thu, 12/18/2025 - 14:19

Thanks!