Skip to content

Commit

Permalink
2
Browse files Browse the repository at this point in the history
  • Loading branch information
ArduFish committed Jul 15, 2024
1 parent 3cc62b3 commit de1e425
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/main/java/eu/raspberrymods/fishlib/ObsidianTool.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,28 @@
@Override
public class ObsidianTool implements ToolMaterial {
// Your IDE should override the interface's methods for you, or at least shout at you to do so.
@Override
public int getDurability() {
return 1500;
}
@Override
public float getMiningSpeedMultiplier() {
return 1.0F;
}
@Override
public float getAttackDamage() {
return 15.0F;
}
@Override
public TagKey<Block> getInverseTag() {
return BlockTags.INCORRECT_FOR_STONE_TOOL;
}
@Override
public int getEnchantability() {
return 22;
}
@Override
public Ingredient getRepairIngredient() {
return Ingredient.ofItems(Items.OBSIDIAN);
}
}

0 comments on commit de1e425

Please sign in to comment.