Add configuration for enchantment application #678
Answered
by
RhythmicSys
MartijnMuijsers
asked this question in
__Dismissed__
-
A configuration option like follows: allowed_enchantment_changes:
anvil:
- type: ELYTRA
enchantment: MENDING
result: deny
- type: BOW
enchantment: LOOTING
result: allow
- type: *
enchantment: CURSE_OF_VANISHING
result: allow
enchantment_table: []
villager_trade: []
generated_loot:
- type: GOLDEN_SHOVEL
enchantment: FIRE_ASPECT
result: allow If I were to submit a PR for this, would it be accepted? |
Beta Was this translation helpful? Give feedback.
Answered by
RhythmicSys
Jan 20, 2023
Replies: 2 comments 1 reply
-
How should this handle accepted and unaccepted enchant combos? settings:
...
enchantment:
allow-infinity-and-mending-together: true
allow-infinity-on-crossbow: true
allow-unsafe-enchants: true Modifying base item attributes in a similar manner would be awesome as well. |
Beta Was this translation helpful? Give feedback.
1 reply
-
This would be better suited for a plugin that would be made to handle enchantments exclusively |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
RhythmicSys
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This would be better suited for a plugin that would be made to handle enchantments exclusively