SpaceCat97 / SpaceCats-Wikis

Other
2 stars 0 forks source link

[Suggestion] Piece enchantment requirement #8

Closed NoThrottle closed 5 months ago

NoThrottle commented 5 months ago

Would it be possible for set pieces to require/not allow certain enchantments on the piece.

Along the lines of:

{
   ...
   "enchantments" : 
   [
       {
            "type":"require",
            "enchant":"minecraft:protection",
            "level":"0",
            "level_range":"any_value"
       },
       {
            "type":"disallow",
            "enchant":"minecraft:unbreaking",
            "level":"1",
            "level_range":"higher_than"
       }
   ]
}

This in turn would require the set piece to be enchanted with Protection of any level, but, it must not be enchanted of Unbreaking 2 or higher.

SpaceCat97 commented 5 months ago

Feature accepted. This will be added into version 20.11.0

SpaceCat97 commented 5 months ago

Added in version 20.11.0