Skip to content

Mention Repairs with Anvil #384

@Zorgatone

Description

@Zorgatone

The documentation for MC 1.21.10 shows how to create a new material Guidite for armor.
This is the code for the repair material mentioned in the guide:

public static final TagKey<Item> REPAIRS_GUIDITE_ARMOR = TagKey.of(Registries.ITEM.getKey(), Identifier.of(ExampleMod.MOD_ID, "repairs_guidite_armor"));

https://github.com/FabricMC/fabric-docs/blob/main/develop/items/custom-armor.md

but it doesn't show how to make the armor repariable in the anvil with the base material guidite_ingot.

I expect the dev would need to create a repairs_guidite_armor.json file somewhere and configure the base item to be used?

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementA new addition to an already existing page

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions