What tags does Fabric API provide? #1368
Answered
by
haykam821
haykam821
asked this question in
Mod Dev Support
-
Beta Was this translation helpful? Give feedback.
Answered by
haykam821
Mar 13, 2021
Replies: 1 comment
-
Item TagsFabric API provides the following item tags, containing by default all vanilla tools of that type:
In particular, these item tags are provided by the 'Fabric Tool Attribute API (v1)' module. Block TagsThe following mineable block tags added by the 'Fabric Mining Level API (v1)' module supplement vanilla's existing mineable tags for additional tool types:
The same module also supplements vanilla's existing tool level tags by adding dynamic tags that can be used to define a block's requirement to be broken by a tool that supports any mining level:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
haykam821
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Item Tags
Fabric API provides the following item tags, containing by default all vanilla tools of that type:
fabric:axes
fabric:hoes
fabric:pickaxes
fabric:shears
fabric:shovels
fabric:swords
In particular, these item tags are provided by the 'Fabric Tool Attribute API (v1)' module.
Block Tags
The following mineable block tags added by the 'Fabric Mining Level API (v1)' module supplement vanilla's existing mineable tags for additional tool types:
fabric:mineable/shears
fabric:mineable/sword
The same module also supplements vanilla's existing tool level tags by adding dynamic tags that can be used to define a block's requirement to be broken by a tool that supports any mining level:
f…