v2

constant mining_levels net/fabricmc/yarn/constants/MiningLevels HAND
constant mining_levels net/fabricmc/yarn/constants/MiningLevels WOOD
constant mining_levels net/fabricmc/yarn/constants/MiningLevels STONE
constant mining_levels net/fabricmc/yarn/constants/MiningLevels IRON
constant mining_levels net/fabricmc/yarn/constants/MiningLevels DIAMOND
constant mining_levels net/fabricmc/yarn/constants/MiningLevels NETHERITE

target_method net/minecraft/item/ToolMaterials <init> (Ljava/lang/String;IIIFFILjava/util/function/Supplier;)V
	param 2 mining_levels
target_method net/minecraft/item/ToolMaterial getMiningLevel ()I
    return mining_levels