sword that damages baby mobs

Started by MINECRAFTAARTIST on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
sword that damages baby mobs

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.

 

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
just set the deafault damage…
Wed, 06/16/2021 - 06:48

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.

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i set up this…
Thu, 06/17/2021 - 04:56

how do i set up this procedure?