How can i make a hostile mob attack a peaceful mob (datapack)

Started by maneatin on

Topic category: Help with Minecraft modding (Data Packs)

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can i make a hostile mob attack a peaceful mob (datapack)

like how a zombie attacks a player, i would like to make it so a zombie (and other hostile mobs) can attack any peaceful mobs like cats and cows.
I am not to sure where to start with the datapack, specially using the mcreator to make it. Any help is appericated.