Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Armor Trim Merge Adapter #303

Merged
merged 1 commit into from
Jul 2, 2023
Merged

Conversation

WolfyScript
Copy link
Owner

@WolfyScript WolfyScript commented Jul 1, 2023

This adds a brand new Armor Trim merge adapter that can copy armor trim patterns and materials.
It provides more advanced options.
For example it can only copy a pattern of one ingredient and material from another ingredient. It then combines them on the result.

You can also define a default material and pattern that it falls back to when none are found on ingredients.

Examples

Copies the pattern and changes the material to amethyst.

{
    key = "customcrafting:armor_trim"
    copyPattern = true
    copyMaterial = false
    defaultMaterial = "minecraft:amethyst"
}

Copies the pattern from the ingredient in slot 1 and the material from slot 2.

{
    key = "customcrafting:armor_trim"
    copyPattern = [ 1 ]
    copyMaterial = [ 2 ]
}

Copies both the pattern and material.

{
    key = "customcrafting:armor_trim"
    copyPattern = true
    copyMaterial = true
}

@WolfyScript WolfyScript self-assigned this Jul 1, 2023
@WolfyScript WolfyScript added the enhancement New feature or request label Jul 1, 2023
@WolfyScript WolfyScript marked this pull request as ready for review July 2, 2023 11:21
@WolfyScript WolfyScript merged commit bce3098 into master Jul 2, 2023
1 check passed
@WolfyScript WolfyScript deleted the feature/armor_trim_merge_adapter branch July 7, 2023 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant