Vanilla Item Attributes Changing

Started by ImDaMilan on

Topic category: Help with MCreator software

Last seen on 19:51, 22. Sep 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Vanilla Item Attributes Changing

Is there a way to make vanilla items have certain effects, for example, making a sword do double damage if a player has a certain effect?

What I'm trying to create is a sword that does a certain amount of damage to all mobs, but it does 50% more damage than usual if it hits a zombie.

I tried using a procedure that just deals, for example, 10 damage if it punches a zombie, but if a player puts sharpness on it, the damage for other mobs will increase, but for zombies it would still deal 10 damage. Any help would be appreciated!