How to make custom enchantment

Started by Yaaaaaaaaaaay on

Topic category: Help with MCreator software

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make custom enchantment

I am new to Mcreator and I have figured out a lot of stuff on my own and by watching videos but I am still having a lot of problems with my custom enchantment. My enchantment is supposed to make any mob that hits you named a random name out of ten names, but when I test it out nothing is happening. I don't know why but I pretty much don't know what I am doing, I have just been combining things I get from other places and none of it turns out right. If it matters the enchantment can only be put on boots. Also sorry if this is in the wrong category or something because I am new to all of this.

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it is in fact in the wrong…
Thu, 10/07/2021 - 22:49

it is in fact in the wrong section, next time choose Help With Modding JAVA

and your procedure should be

Entity is Hurt Global Trigger

if Source Entity is type: Player AND get enchantment of item in armor slot of Source Entity 0 (I honestly don't remebember the slot number so search on wiki) type:ENCHANTMENT

do (The procedure to change name)