diff --git a/src/main/java/com/acethewildfire/acesbs/PATCH_NOTES.md b/src/main/java/com/acethewildfire/acesbs/PATCH_NOTES.md index d20e785..6918ca0 100644 --- a/src/main/java/com/acethewildfire/acesbs/PATCH_NOTES.md +++ b/src/main/java/com/acethewildfire/acesbs/PATCH_NOTES.md @@ -11,6 +11,9 @@ - Lemonwood Trapdoors face the correct direction ## Changes - Lemonwood saplings are now obtained through an Entropic Entangler recipe (Stable Entropy + Birch Sapling) +- Durability calculations have changed to reflect the material's rarity. + - Tools have the mining level of the base material with the durability of the next tier. + - Hammers get the equivalent durability for the materials put into them. (effectively the durability x6.33) # Known Issues - The Command Core Item does not display the correct texture when activated. diff --git a/src/main/java/com/acethewildfire/acesbs/item/AshenSteelItems.java b/src/main/java/com/acethewildfire/acesbs/item/AshenSteelItems.java index 58df1b0..35032e0 100644 --- a/src/main/java/com/acethewildfire/acesbs/item/AshenSteelItems.java +++ b/src/main/java/com/acethewildfire/acesbs/item/AshenSteelItems.java @@ -19,7 +19,7 @@ public class AshenSteelItems { public static final Item ASHEN_STEEL_PICKAXE = ModItems.registerItem("ashen_steel_pickaxe", setting -> new Item(setting.pickaxe(ModToolMaterials.ASHEN_STEEL, 1.0F, -2.8F))); public static final Item ASHEN_STEEL_HAMMER = ModItems.registerItem("ashen_steel_hammer", - setting -> new HammerItem(ModToolMaterials.ASHEN_STEEL, 9.0F, -3.4F, setting)); + setting -> new HammerItem(ModToolMaterials.ASHEN_STEEL, 9.0F, -3.4F, setting.maxDamage(9886))); public static final Item ASHEN_STEEL_AXE = ModItems.registerItem("ashen_steel_axe", setting -> new AxeItem(ModToolMaterials.ASHEN_STEEL, 6.0F, -3.1F, setting)); public static final Item ASHEN_STEEL_HOE = ModItems.registerItem("ashen_steel_hoe", diff --git a/src/main/java/com/acethewildfire/acesbs/item/ModToolMaterials.java b/src/main/java/com/acethewildfire/acesbs/item/ModToolMaterials.java index 445241a..54b1b0d 100644 --- a/src/main/java/com/acethewildfire/acesbs/item/ModToolMaterials.java +++ b/src/main/java/com/acethewildfire/acesbs/item/ModToolMaterials.java @@ -17,4 +17,6 @@ public class ModToolMaterials { public static ToolMaterial ASHEN_STEEL = new ToolMaterial(BlockTags.INCORRECT_FOR_IRON_TOOL, 1561, 8.0F, 3.0F, 22, ModTags.Items.ASHEN_REPAIR); + // 2031 + // 12863 } diff --git a/src/main/java/com/acethewildfire/acesbs/item/PrismaSteelItems.java b/src/main/java/com/acethewildfire/acesbs/item/PrismaSteelItems.java index ce5ca48..ff7a482 100644 --- a/src/main/java/com/acethewildfire/acesbs/item/PrismaSteelItems.java +++ b/src/main/java/com/acethewildfire/acesbs/item/PrismaSteelItems.java @@ -17,7 +17,7 @@ public class PrismaSteelItems { public static final Item PRISMA_STEEL_PICKAXE = ModItems.registerItem("prisma_steel_pickaxe", setting -> new Item(setting.pickaxe(ModToolMaterials.PRISMA_STEEL, 1.0F, -2.8F))); public static final Item PRISMA_STEEL_HAMMER = ModItems.registerItem("prisma_steel_hammer", - setting -> new HammerItem(ModToolMaterials.PRISMA_STEEL, 9.0F, -3.4F, setting)); + setting -> new HammerItem(ModToolMaterials.PRISMA_STEEL, 9.0F, -3.4F, setting.maxDamage(9886))); public static final Item PRISMA_STEEL_AXE = ModItems.registerItem("prisma_steel_axe", setting -> new AxeItem(ModToolMaterials.PRISMA_STEEL, 6.0F, -3.1F, setting)); public static final Item PRISMA_STEEL_HOE = ModItems.registerItem("prisma_steel_hoe",