• check_circle Functions
  • 1,430 views, 27 today
  • 125 downloads, 1 today
  • 7
  • 7
  • 2
ShadeAadi's Avatar ShadeAadi
Level 8 : Apprentice Collective
0
SWORD EFFECTS



Have you ever wished your iron sword could poison an enemy?

Ever thought it would be cool if you could regain HP by damaging mobs?

Wanted some kind of totem that gave you slow-falling or night vision when
held instead of doing necromancy on you?



Well, you CAN do those things! Using certain commands inside command
blocks and and setting up score boards you can achieve that same effect.


But if you have tried to do this by watching a video and found it difficult to
understand, too time consuming to set up or just didn't like the 3 chunk
radius limit of the command blocks, then here is your solution!




This datapack sets up all the necessary things in order for this to function.

And it doesn't have any limitations of being an in-game block.

Just /give yourself an item with the appropriate nbt tag and you are done!



The instructions of usage are provided as a text document inside the pack
itself. If you want to add custom stuff you can just go inside the pack and
copy paste one of the lines of
commands and edit it however you wish.



This datapack can be used in mapmaking to add custom weapons just
remember to credit the maker.




Idk if there are already other datapacks that do this same thing but I just

wanted an easier way to do this and made this datapack to accomplish this

and thought I might as well publish this.



-ShadeAadi
CompatibilityMinecraft 1.18
toMinecraft 1.20
Tags

1 Update Logs

Update 1 : by ShadeAadi 04/18/2024 4:22:31 amApr 18th

Bug fixes:
There was a bug with the EffectDealt tag where if the player hits a mob or player with a weapon with that tag and takes damage at the exact same time then the player would also get whatever effect was on the weapon along with the attacked creature.

I was not able to completely remove the issue and had to replace it with another one where if 2 players with one or more of the same effects on their weapons hit each other the common effects will not be applied to either player. This is however much rarer and can be resolved with another attack.

Create an account or sign in to comment.

2
03/29/2024 10:53 am
Level 2 : Apprentice Miner
RODHI
RODHI's Avatar
you do not know how much i needed this🥹
1
03/28/2024 11:07 am
Level 8 : Apprentice Collective
ShadeAadi
ShadeAadi's Avatar
Compatibility is from 1.18 due to DARKNESS status effect.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome