You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! I've requested some of this features to a couple of devs before. I think it should greatly improve the experience with the mod.
So, in my use case, I like to make some of the new enchantments as treasure-only or as a custom boss' loot to make them rare, some can be crafted with NbtCrafting, others can be traded with villagers, then the rest that I consider not that broken/OP can still be obtained in the enchantment table.
Now, this request is super specific and it would only benefit me (a server owner/modpack maker) because I don't think casual players would make use of it. Still, I think it's a really good tool for us (server owners/modpack makers) to give our players a better experience with enchanting.
Specific info about my request:
General: ability to disable enchantments from initializing (I don't know if that's possible but it would be a good way to prevent enchantments even from appearing in mods like REI)
Enchantment table: ability to enable-only/disable certain enchantments from appearing in the enchantment table.
Treasure: ability to enable-only/disable certain enchantments from appearing in treasure loot tables.
There's this function that minecraft uses to assign a random enchantment to an enchanted book, armor, weapon, or tool. It includes all the enchantments afaik. It's called "minecraft:enchant_randomly". I use lots of mods/datapacks that add new structures and mobs and it's a pain having to manually edit 500 loot tables everytime I add new enchantments.
Villager trading: ability to enable-only/disable certain enchantments from appearing in villager trades.
Mob equipment and mob loot: enable-only/disable certain enchantments from appearing in mob equipment and loot (I remember there was this mod that allowed you to disable enchantments but they would still appear in mob armor and weapons so I had to deal with the fact that you can't even disable them using loot tables)
Note: what's that about "enable-only"? With that setting you wouldn't need to go and disable enchantments one by one when for example you only need it as "treasure only".
This it a lot of work so I wouldn't mind if you just want to keep your mod as simple as possible.
Feel free to ask me more questions. Sometimes my english makes no sense. Thanks!
edit: fixed some typos
The text was updated successfully, but these errors were encountered:
The first I don't believe is possible.
The rest I believe I can allow configuration using tags. However there are limits.
Due to how MC handles enchantments, mob equipment and enchantment table selection are derived from the same method: isAvailableForRandomSelection(). So if you wish to allow it to appear on an enchanting table, but not on mobs, that will be impossible or at least very difficult to implement.
Due to how MC handles enchantments, mob equipment and enchantment table selection are derived from the same method: isAvailableForRandomSelection(). So if you wish to allow it to appear on an enchanting table, but not on mobs, that will be impossible or at least very difficult to implement.
I understand.
I don't know nothing about java and I don't know how you coded your mod but they managed to fix it and their code might be useful to you, I wouldn't know.
Thanks for taking my request into consideration!
Hey! I've requested some of this features to a couple of devs before. I think it should greatly improve the experience with the mod.
So, in my use case, I like to make some of the new enchantments as treasure-only or as a custom boss' loot to make them rare, some can be crafted with NbtCrafting, others can be traded with villagers, then the rest that I consider not that broken/OP can still be obtained in the enchantment table.
Now, this request is super specific and it would only benefit me (a server owner/modpack maker) because I don't think casual players would make use of it. Still, I think it's a really good tool for us (server owners/modpack makers) to give our players a better experience with enchanting.
Specific info about my request:
There's this function that minecraft uses to assign a random enchantment to an enchanted book, armor, weapon, or tool. It includes all the enchantments afaik. It's called "
minecraft:enchant_randomly
". I use lots of mods/datapacks that add new structures and mobs and it's a pain having to manually edit 500 loot tables everytime I add new enchantments.Note: what's that about "enable-only"? With that setting you wouldn't need to go and disable enchantments one by one when for example you only need it as "treasure only".
Here are some old requests I made to other enchantment mods, the code might be useful to you:
StrikerRockers-Mods/VanillaTweaksFabric#6
Tigereye504/spellbound#12
herb-mc/extra_enchants#12
This it a lot of work so I wouldn't mind if you just want to keep your mod as simple as possible.
Feel free to ask me more questions. Sometimes my english makes no sense. Thanks!
edit: fixed some typos
The text was updated successfully, but these errors were encountered: