package de.jottyfan.quickiemod.item; import net.minecraft.item.Item; import net.minecraft.item.ToolMaterial; import net.minecraft.registry.RegistryKey; import net.minecraft.registry.RegistryKeys; import net.minecraft.registry.tag.BlockTags; import net.minecraft.registry.tag.ItemTags; import net.minecraft.util.Identifier; /** * * @author jotty * */ public class ToolSpeedpowderHoe extends ToolRangeableHoe { public static final Integer DEFAULT_PLOW_RANGE = 2; private final static ToolMaterial MATERIAL = new ToolMaterial(BlockTags.INCORRECT_FOR_DIAMOND_TOOL, 800, 7f, 1f, 15, ItemTags.DIAMOND_TOOL_MATERIALS); public ToolSpeedpowderHoe(Identifier identifier) { super(MATERIAL, 7F, -3.1F, new Item.Settings().useItemPrefixedTranslationKey().registryKey(RegistryKey.of(RegistryKeys.ITEM, identifier)), new HarvestRange(DEFAULT_PLOW_RANGE)); } }