WolfyScript / CustomCrafting

Spigot based plugin to create your own custom Recipes & Items. Designed to be easy to use with in-game GUI and tons of configuration possibilities.
https://modrinth.com/plugin/customcrafting
GNU General Public License v3.0
114 stars 36 forks source link

Add Armor Trim Merge Adapter #303

Closed WolfyScript closed 1 year ago

WolfyScript commented 1 year ago

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
}