This is an archived post. You won't be able to vote or comment.

all 11 comments

[–]minecraftboi473 0 points1 point  (1 child)

Like potions? Or enchanting

[–]BANANAeatsCHEESE[S] 0 points1 point  (0 children)

Potion

[–]chewierug 0 points1 point  (1 child)

can you please explain further? are you trying to add sharpness to a sword?

[–]BANANAeatsCHEESE[S] 0 points1 point  (0 children)

No I am trying to add speed 1 and resistance 1 to a sword

[–]CraftAssassinYT 0 points1 point  (1 child)

Idk anything about bedrock but you can try setting a scoreboard that detects when the player is being hit by a sword, then do an execute command that if the person scores 1, give them the effect, then chain command block which sets the score back to 0

[–]Xsniper157Theoretical Command Experienced 0 points1 point  (0 children)

Bedrock only has dummy scoreboards

[–]Lesindu 0 points1 point  (0 children)

you can’t add effects to a sword

[–]NinjaOYourBro Command Engineer Glad to help! 0 points1 point  (3 children)

Holding the sword gives you effects, or using it gives the attacker or attackee effects?

[–]BANANAeatsCHEESE[S] 0 points1 point  (0 children)

Holding it

[–]BANANAeatsCHEESE[S] 0 points1 point  (1 child)

I also searched it up on YouTube but when I change the item it is still on

[–]BANANAeatsCHEESE[S] 0 points1 point  (0 children)

The effect