Minecraft Data Packs / Weapons and Armor

Enchantments Overhauled (Improve Vanilla Enchantments)

  • check_circle Advancements
  • check_circle Functions
  • 11,268 views, 24 today
  • 1,058 downloads, 1 today
  • 37
  • 36
  • 29
AuraAcorn's Avatar AuraAcorn
Level 33 : Artisan Nerd
7
Have you ever felt that there were a lot of enchantments in the game, that were forgotten, underused, or just plain bad?
I sure did, and so I decided to add buffs and make changes that I think are appropriate to give some enchantments a makeover, and to add more functionality to them as well.

Please note that this pack uses lots of NBT and execute commands. A server may experience lower values of TPS (Ticks Per Second) without a good enough CPU.

The full rundown:
  • Having either Smite/Bane of Arthropods on a Sword in your offhand will merge them together into a new enchantment, Nightblade.
  • Having either Blast/Projectile Protection on armor in your offhand will merge them together into a new enchantment, Impact Protection.
  • Armor with Thorns placed into your offhand will be upgraded, allowing it to always reflect damage, and at a consistent amount.
  • Impaling functions like it does in Bedrock, dealing extra damage to all entities in water or rain (but only with the Trident). Only works in versions 1.19.4 and up.
  • Channeling can summon lightning in rain.
  • Frost Walker allows any boots to work like Leather boots in Powdered Snow. At Level 2 it can create temporary Magma on Lava.
  • Knockback amount is decreased, and in it's place is a new "hit freeze" that stuns enemies for a few seconds.
  • Depth Strider adds a movement speed buff, +5% per level.
There are also some bonus extra features, which are disabled by default, either because they can't be used in Survival (without cheats) or they're somewhat overpowered:
  • Flames works on both Crossbows and Tridents.
  • Piercing works on bows.
  • Quick Charge reduces the cooldown time of weapons and tools by 1/3 a second per level.
  • Having either Fortune/Looting on a tool or weapon in your offhand will merge them together into a new enchantment, Reaping.
    Any of these can be disabled if you do not want them, all you have to do is delete/move the associated .mcfunction file from the functions folder.
    And that's it! Let me know if you have any ideas you would like to see added to this! I'm hoping to expand it a lot.
    CompatibilityMinecraft 1.18
    toMinecraft 1.20
    Tags

    3 Update Logs

    Update #3: v1.2 : by AuraAcorn 12/02/2023 11:06:31 pmDec 2nd, 2023

    Thanks to some helpful commenters, I've found plenty of issues that needed fixing. Shoutout in particular to BeltBuckle for the extensive testing!
    I removed the Flame/Fire Aspect and Punch/Knockback cross compatibility that was introduced last update. It was an experiment and it caused too many issues.
    Flame for the Crossbow and Trident has been moved to the extras folder, along with the Quick Charge buff and Piercing for normal bows.
    You'll no longer take damage when falling into Powdered snow with Frost Walker boots. They also work a lot closer to Leather Boots for Powdered Snow.
    Tridents with Flame now light entities on fire properly.
    Knockback won't accidentally cause the player to experience "hit freeze" when hit by a mob.
    I've tried my best to optimize the commands and make them use less resources, but servers may still experience less Ticks Per Second.
    LOAD MORE LOGS

    Create an account or sign in to comment.

    1
    12/02/2023 5:29 pm
    Level 1 : New Miner
    anonpmc4916644
    anonpmc4916644's Avatar
    [deleted]
    1
    12/02/2023 8:20 pm
    Level 33 : Artisan Nerd
    AuraAcorn
    AuraAcorn's Avatar
    I've had multiple people talk about the TPS on servers, and I'm currently working on a solution. The pack uses a lot of execute and NBT commands, which is very intensive and apparently slow servers down.
    Quick charge seems to also not work with everyone, it was experimental and I'm most likely going to remove it in the next update.
    You aren't doing anything wrong these are bugs I'm working on. Thanks for trying it out!
    1
    12/01/2023 5:36 pmhistory
    Level 1 : New Miner
    BeltBuckle
    BeltBuckle's Avatar
    Just got through about one and a half hours of testing everything

    • I'm not sure if it was an intentional decision, but Flames gives Fire Aspect 1 to applied items and not Fire Aspect 2.
    • Bows (and tridents) also don't get the previous enchantments removed, and will have both enchantments no matter what. This is correct with the way it is worded, but seems inconsistent.
    • Both of these combined means that putting Fire Aspect 2 on a bow reverts it to Fire Aspect 1.
    • This actually might be a problem with tridents. I think it's nice for them to have both since it is more consistent and gives the melee attack more use, and being limited to only Fire Aspect 1 isn't ideal for that.
    • The same applies to Knockback and Punch.
    • Frost Walker on lava is impressively consistent with its (slightly janky) interactions on water, but because of the extremely low range it is rare but possible to fall off if the player is going perfectly straight.
    • This becomes a slightly bigger problem when the player has any kind of speed boost.
    • Frost Walker also causes the player to take damage when landing on powdered snow. This isn't a huge deal though because the fall damage still gets eliminated if there is a non-full block above (like a carpet) which is how that feature is usually abused.
    • While holding items with Knockback, attacks from other mobs to the player to also apply slowness to the player from the Hit-Freeze effect.
    • I honestly can't tell with quick charge. I thought earlier it only worked in the offhand but it turns out I'm just dumb and thought fists and swords had the same cooldown. I can't seem to notice any reduction, though, and the code seems to set the cooldown to a fixed value per level (not sure though) which would cause weird interactions with items that aren't swords, but I couldn't get that to happen in my testing.
    • Upon further inspection of Flames on Tridents, it seems that the code responsible is just setting the projectile on fire, and assumes that it will catch the hit mob on fire, which works fine on Crossbows, but not Tridents
    2
    12/01/2023 10:58 pmhistory
    Level 33 : Artisan Nerd
    AuraAcorn
    AuraAcorn's Avatar
    Wow you sure were busy. Thanks for all of that. As to address some of the things you noted:
    -I meant to put both enchantments on those items, and set it to Fire aspect 1 assuming that you could upgrade it with an anvil, which as I learned is not possible in survival.
    -Same thing goes for knockback and punch.
    -I made Frost walker have a small radius as a high risk thing on purpose. You need to take it slow to be safe.
    -I forgot about fall damage with powdered snow. That's not a hard fix.
    -The slowness affecting the player is not intended, thanks for finding that out. I never saw it myself.
    -The cooldown difference is tiny, because otherwise it'd be a bit too powerful for DPS. Its experimental, probably will remove it.
    -The Flame Tridents was another overlooked thing. That's not hard to correct.

    Thanks for all of this help, really! I'm probably going to have to redo a lot of stuff, but none seems very difficult.
    2
    11/29/2023 6:50 pmhistory
    Level 1 : New Miner
    BeltBuckle
    BeltBuckle's Avatar
    First of all, love the datapack.

    Second, I can't seem to get any enchants on weapons that aren't able to receive those enchants in vanilla (quick charge, flame, knockback) using the datapack. I've tried doing this with an enchanting table, anvil, and /enchant. Also, if I force them on with creative mode in an anvil they don't work properly. I've tested this in 1.20.1 and 1.18 since those are the listed supported versions and it happens in both. Hope I'm not missing something obvious.

    Edit: did some more testing and it seems like the bow enchantments work fine, not sure if that's because of vanilla behavior or not. Flame on tridents still seems to not. Quick charge does work in the offhand, but the attack is with the bare hand and not the tool.
    1
    11/30/2023 3:13 pm
    Level 33 : Artisan Nerd
    AuraAcorn
    AuraAcorn's Avatar
    Okay so, I never knew that you couldn't enchant items using an anvil in Survival, if they aren't compatible with that enchantment. Since it always worked in creative I assumed it would for survival too. Thanks for pointing this out for me! I guess I've got some things to change now.
    As for not getting the enchantments, if they have the one that would change or get added too, remember that you have to put it into your offhand, as that is where I set it to activate.
    2
    11/30/2023 3:58 pmhistory
    Level 1 : New Miner
    BeltBuckle
    BeltBuckle's Avatar
    Alright, I looked into it some more and it does seem that most of the enchants work correctly. Huge thanks for looking into it. A lot of it came from me not fully understanding the wording with the offhand, so thanks for making that more clear for me.
    With that said, I found that putting flame on tridents still seems to not work. The trident seems to get the flame visually when thrown, but on hit it does not apply the effect. I know this isn't just an oversight because there does seem to be code in place specifically to fix this.
    2
    11/30/2023 6:10 pm
    Level 33 : Artisan Nerd
    AuraAcorn
    AuraAcorn's Avatar
    Thanks for reporting all of these bugs and issues and helping me find out more about how people are experiencing this pack. You're awesome 😎. Next week I think I will really try and hammer these out and rerelease the pack.
    If you run into any more problems, please let me know, as I'll try and nail out any (and all of I can) of the things you've mentioned so far.
    2
    11/30/2023 9:40 pm
    Level 1 : New Miner
    BeltBuckle
    BeltBuckle's Avatar
    I'm just glad you're not annoyed by all these minor things! (probably helps that I'm doing a ton of testing on everything I find) And great to see I'm actually helping with this amazing pack!
    I'll try and test as much as I can over the next few days and compile a list of anything that comes up.
    2
    11/26/2023 2:02 pm
    Level 1 : New Miner
    User4908935G
    User4908935G's Avatar
    Hi, I was using this on a 1.20.2 server of mine and it resulted in massive TPS lost.
    Planet Minecraft

    Website

    © 2010 - 2024
    www.planetminecraft.com

    Welcome