How to make stun enchantment?

Started by Ivan original on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2021
Points:

User statistics:

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

That is, when you hit the enemy, there is a chance to immobilize him.I tried to do it without potions but failed.

Sorry for my english.

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ah I made one recently…
Fri, 06/04/2021 - 04:15

ah I made one recently actually if you would like I can tell you how to do it

 

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
also you need potions, first…
Fri, 06/04/2021 - 04:19

also you need potions, first make a stun potion effect that gives slowness 100, and weakness 100, I used an enchantment for this, make another procedure that applies the potion effect to the target entity (what you're attacking) if the source entity (you attacking) has the enchantment stun in his main hand while attacking, that's it. 

 

though I hope you are able to use this mess of words if not I don't have Mcreater installed so I cant give you screenshots so I can't help more then this, good luck!