Started by
scaryclown
on
Topic category: Help with Minecraft modding (Java Edition)
how would i make it where if my ranged item's arrow hits a mob it strikes lightning where they are and not where i am
Topic category: Help with Minecraft modding (Java Edition)
how would i make it where if my ranged item's arrow hits a mob it strikes lightning where they are and not where i am
you should just be able to put strike lightning at x y z under actions for when bullet hits mob or ground.
I have the same idea, but with an enchantment. I want to make it so when you enchant a bow with Thunder (the custom enchantment) it will strike lightning where the arrow hits. How could I do this?
You can do Entity Attacked, and add an If do, then you can add so it checks if the item in the main hand of the SourceEntity has enchantment thunder, then spawn lightning at x y z
Or just put Before Entity Hurt