Skip to content

Commit

Permalink
Add README
Browse files Browse the repository at this point in the history
  • Loading branch information
Juuxel committed Nov 26, 2024
1 parent c035032 commit e01b48e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions fabric-tag-api-v1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Fabric Tag API (v1)

This module contains APIs for working with data pack tags.

## Tag aliases

*Tag alias groups* merge tags that refer to the same set of registry entries.
The contained tags will be linked together and get the combined set of entries
of all the aliased tags in a group.

Tag alias groups can be defined in data packs in the `data/<mod namespace>/fabric/tag_alias/<registry>`
directory. `<registry>` is the path of the registry's ID, prefixed with `<registry's namespace>/` if it's
not `minecraft`.

The JSON format of tag alias groups is an object with a `tags` list containing plain tag IDs.

See the module javadoc for more information about tag aliases.

0 comments on commit e01b48e

Please sign in to comment.