sword that damages baby mobs

Started by MINECRAFTAARTIST on

Topic category: Help with modding (Java Edition)

Last seen on 23:46, 17. Jun 2021
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.

 

Last seen on 13:34, 4. Oct 2022
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.

Last seen on 23:46, 17. Jun 2021
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?