also wait this was a nerf oops
This commit is contained in:
parent
303c307c5c
commit
2195ffae97
1 changed files with 0 additions and 6 deletions
|
@ -6,7 +6,6 @@ import net.minecraft.world.entity.player.Player;
|
|||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraft.world.item.PickaxeItem;
|
||||
import net.minecraft.world.item.Tier;
|
||||
import net.minecraft.world.item.Tiers;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.block.state.BlockState;
|
||||
|
||||
|
@ -15,11 +14,6 @@ public class ItemJewelerHammer extends PickaxeItem {
|
|||
super(tier, damageMod, attackSpeedMod, props);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getEnchantmentValue() {
|
||||
return Tiers.DIAMOND.getEnchantmentValue();
|
||||
}
|
||||
|
||||
public static boolean shouldFailToBreak(Player player, BlockState state, BlockPos pos) {
|
||||
ItemStack stack = player.getMainHandItem();
|
||||
return stack.is(HexItems.JEWELER_HAMMER) && Block.isShapeFullBlock(state.getShape(player.level, pos));
|
||||
|
|
Loading…
Reference in a new issue