Started by
vonbanan
on
Topic category: Help with Minecraft modding (Java Edition)
uh so help me to make the thing like when mob hits me theres 20% chance of strike it with lighting(i already made that lighting doesnt dmg me)
Topic category: Help with Minecraft modding (Java Edition)
uh so help me to make the thing like when mob hits me theres 20% chance of strike it with lighting(i already made that lighting doesnt dmg me)
yes easy there should be a trigger in the procedure called when entity gets hit, add a if block to check if the target that got hit is the player, playerMP if its multiplayer mod, them make another if block nested in it, and have a random chance it strike lightning on the source entity.
hope I could help but I don't know if you understand what I am even saying