Enchantment for swords like bane of arthropods.

Started by Crazyboi52413 on

Topic category: Help with modding (Java Edition)

Last seen on 15:23, 20. Jul 2023
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Enchantment for swords like bane of arthropods.

Is there a way to make an enchantment like bane of arthropods but for custom or other vanilla mobs?

Last seen on 19:15, 17. Mar 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
well if you did on sword hit…
Wed, 02/17/2021 - 19:19

well if you did on sword hit, check for enchantment, (and block) and the mob was X (creature, or creatur type) then:

Last seen on 15:23, 20. Jul 2023
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I made a tag with the…
Mon, 03/01/2021 - 06:50

I made a tag with the entities and with a procedure checked the enchantment level and the tag of the entity hit and did damage to the entity but there was one problem. When the entity is hit it deals only the damage in the procedure which i want to add to the default and it didn't do the knockback. I fixed this with the wait procedure on 1 tick and it works now.