Datapacks support tags by creating a /tags folder under a namespace folder. These tags are referenced using a #. For example:
kill @e[type=#namespace:my_tag]
The support for comments means that this like in a .databind file would be compiled to:
kill @e[type=
The tag and anything following it is removed since the compiler thinks it's a comment. Comments should only be possible if the # is at the beginning of a line, not partway through.
Datapacks support tags by creating a /tags folder under a namespace folder. These tags are referenced using a
#
. For example:The support for comments means that this like in a
.databind
file would be compiled to:The tag and anything following it is removed since the compiler thinks it's a comment. Comments should only be possible if the
#
is at the beginning of a line, not partway through.