diff --git a/CHANGELOG.md b/CHANGELOG.md index e52446f..a1b7434 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,82 +1 @@ -# Repair Materials -- Netherite items now use Netherite Scrap within repairing instead of Netherite Ingots. -- Shields may now be repaired using Iron Ingots for more durability alongside Wood. -- Tridents may now be repaired using either Prismarine Shards or Prismarine Crystals. -- Bows, Crossbows and Fishing Rods may now be repaired using either Sticks or String. -- Elytras may now be repaired using Leather for less durability alongside Phantom Membrane. -- Flint and Steel may now be repaired using either Flint or Iron Ingots. -- Carrots on Sticks may now be repaired using Carrots. -- Warped Fungus on Sticks may now be repaired using Warped Fungus. -- New repairable items and items which previously didn't use tags for repairing now use tags under the `menderman` namespace to repair. These tags include... - - `menderman:bow_materials` - - `menderman:brush_materials` - - `menderman:carrot_on_a_stick_materials` - - `menderman:crossbow_materials` - - `menderman:elytra_materials` - - `menderman:fishing_rod_materials` - - `menderman:flint_and_steel_materials` - - `menderman:mace_materials` - - `menderman:trident_materials` - - `menderman:turtle_helmet_materials` - - `menderman:shears_materials` - - `menderman:shield_materials` - - `menderman:warped_fungus_on_a_stick_materials` - - `menderman:wolf_armor_materials` - -## Repairing Item Costs -- Tweaked the repair amount for each item. - - Basic Weapons and Tools (Swords, Axes, Pickaxes, Shovels and Hoes) are completely repaired with one item. - - Helmets and Boots are completely repaired using two items. - - Chestplates and Leggings are completely repaired using three items. - - All Chainmail Armor is completely repaired using one item. - - All Netherite items are completely repaired using one item. - - Shields are completely repaired using two Wooden Planks or one Iron Ingot. - - Bows and Crossbows are completely repaired using two items. - - Tridents and Maces are completely repaired using two items. - - Fishing Rods, Shears, Flint and Steels and Brushes are completely repaired using one item. - - Elytras are completely repaired using one Phantom Membrane or three Leather. - - Turtle Helmets are completely repaired using one Turtle Scute. - - Wolf Armor is now fully repaired using two items. - - Carrots on Sticks are now fully repaired using one item. - - Warped Fungus on Sticks are now fully repaired using one item. - -## Repairing Changes -- Repair costs will now stop at the required amount of items to fully repair, rather than infinitely going with a larger amount of items than needed. -- Renaming items no longer costs any experience. Vanilla behavior may be re-enabled using the `mendermanRenamingCostsExperience` game rule. -- Renaming items without repairing or enchanting is no longer able to damage the anvil. Vanilla behavior may be re-enabled using the `mendermanRenamingCanDamageAnvil` game rule. -- Repairing items no longer costs any experience. Vanilla behavior may be re-enabled using the `mendermanRepairingCostsExperience` game rule. -- Repairing items will no longer increase the cost of future repairs for the same item. Vanilla behaviour may be re-enabled using the `mendermanCompoundingRepairCost` game rule. - - Despite my dislike for this mechanic, I may suggest turning this on for the time being if you feel Anvil enchanting costs are too cheap. - - I may also add a tweaked version of the enchantment cost changes from Enchiridion in the future, we'll see... - -## Integration -- Modified JEI Anvil recipes to be accurate to this mod. -- Repair Requirement components are automatically applied to modded items which are tagged in similar vanilla/conventional item tags. - - This also includes Farmer's Delight Knives. - -## Components -### `menderman:repair_requirements` -- If an item has this component, items will repair for a value relative to this component's int value. - - `minecraft:max_damage / menderman:repair_requirement` -- Expects either a single int or an object. - - `items` - Map of item id/tag and int. - - Specifies values for specific items/item tags. - - `fallback` - Optional int. - - Specifies the value for any repair material not specified within the `items` map. This is also what single int values will map into. -### Examples -```json -{ - "menderman:repair_requirements": 1 -} -``` -```json -{ - "menderman:repair_requirements": { - "items": { - "minecraft:phantom_membrane": 1 - "#minecraft:wool": 4 - }, - "fallback": 3 - } -} -``` +- Updated to 1.21.11. diff --git a/fabric/build.gradle.kts b/fabric/build.gradle.kts index 3e4355d..acb61b1 100644 --- a/fabric/build.gradle.kts +++ b/fabric/build.gradle.kts @@ -84,7 +84,7 @@ java.registerFeature("unobfuscated") { publishMods { file.set(tasks.named("remapJar").get().archiveFile) - additionalFiles.from(tasks.named("unobfuscatedJar").get().archiveFile) + additionalFile(project(":fabric-unobfuscated")) modLoaders.add("fabric") changelog = rootProject.file("CHANGELOG.md").readText() displayName = "v${Properties.MOD_VERSION} (Fabric ${Properties.MINECRAFT_VERSION})"