Started by
MINECRAFTAARTIST
on
Topic category: Help with Minecraft modding (Java Edition)
hello,
I am making a mod for the server that i am on. It's just a joke mod that lets you craft a lightsaber that only damages baby mobs. (this is a reference to Anakin killing the younglings)
however, i dont know how to set it up so it only damages baby mobs. please help me.
just set the deafault damage to 0 and then use a procedure that gets if you are attacking a Baby Zombie or whatever you want and deal damage to the mob.
how do i set up this procedure?