Class FabricMineableTags

java.lang.Object
net.fabricmc.fabric.api.mininglevel.v1.FabricMineableTags

public final class FabricMineableTags extends Object
Defines additional mineable tags for vanilla tools not covered by vanilla.

mineable tags specify which tools are able to break a block effectively and drop it. Fabric API defines two additional mineable tags: #fabric:mineable/sword and #fabric:mineable/shears.

  • Field Details

    • SWORD_MINEABLE

      public static final TagKey<Block> SWORD_MINEABLE
      Blocks in this tag (#fabric:mineable/sword) can be effectively mined with swords.

      As swords have materials and mining levels, the mining level tags described in MiningLevelManager also apply.

    • SHEARS_MINEABLE

      public static final TagKey<Block> SHEARS_MINEABLE
      Blocks in this tag (#fabric:mineable/shears) can be effectively mined with shears.