Started by
Diamond404
on
Topic category: Help with Minecraft modding (Java Edition)
Hello,
I am trying to make an enchantment that allows you to temporarily (5-10 ticks) stun entities and players but it doesn't seem to work. When I hit an entity (ex. Iron Golem) it doesn't stop in place. I also want blue stars and a slight vibration effect to represent the stun animation. I couldn't find a blue star particle so I used the composter one instead.
Am I doing something wrong? If so can someone help me fix it?
Here is the code:
https://drive.google.com/file/d/1BnJlc2z4ErdgLdhZxnwC9LMolq-XCbN4/view?…
Also an error I run into when I use ( isvanillacritical = true ) but I couldn't find anything else:
https://drive.google.com/file/d/1Hr34IowQwJFtyhR6B2RiOUzhB2OGNSfY/view?…