Skip to content

Feature Request: Support Enchantments (via datapack) #8

@Partonetrain

Description

@Partonetrain

What Feature Types Apply to This Request?

Other (Please Describe)

Other Type

Game mechanics

Is This an Enhancement to a Preexisting Feature?

  • I confirm this request is an enhancement to a feature already in Protect Your Moa.

What Is Your Feature Request?

I propose Moa armor support enchantments like Horse Armor does (via datapack). Enchantments don't work on horse armors by default, but in vanilla, there is code to check if the enchantment definition includes the supported item. Thus, it's fairly easy to make vanilla animal armors support enchantments. For example: https://github.com/Partonetrain/hyecunbound/blob/main/data/minecraft/enchantment/frost_walker.json#L124

It would be cool:tm: if one could do the same with Moa armors.

Bonus: render moa armor as enchanted when it is (although horse armor doesn't do this, so maybe not)

Why Should It Be in the Mod?

Consistency with vanilla, and flexibility with datapacks makes for more customizability for the end-user.

Does This Feature Improve Compatibility With Another Mod?

Yes, it would improve compatibility with my mod Hold Your Enemies Closer and its extra datapack Hold Your Enemies Closer: Unbound.

Please Read and Confirm the Following

  • I have confirmed this suggestion is unique and has not been suggested already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions