Started by
WatermelonFrogy
on
Topic category: Help with Minecraft modding (Java Edition)
Hello!
I am making a mod called Pointless Advancements where i just add stupid advancements like "congrats, you wasted leather!" after creating leather armor.
I am currently trying to make an advancement called "Animal Cruelty" that you get from hitting a passive mob like cows or pigs.
How would i go about doing this? i'm pretty new and just started today and everything i know is self taught.
entity is hurt global trigger
if source entity is type Player AND event target entity is Animal Mob
do grant advancement to source entity: ADVANCEMENT