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 Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.tag.TagKey<net.minecraft.block.Block>
    Blocks in this tag (#fabric:mineable/shears) can be effectively mined with shears.
    static final net.minecraft.tag.TagKey<net.minecraft.block.Block>
    Blocks in this tag (#fabric:mineable/sword) can be effectively mined with swords.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SWORD_MINEABLE

      public static final net.minecraft.tag.TagKey<net.minecraft.block.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 net.minecraft.tag.TagKey<net.minecraft.block.Block> SHEARS_MINEABLE
      Blocks in this tag (#fabric:mineable/shears) can be effectively mined with shears.