How can I make it so that my entities will only attack vanilla mpbs

Started by DokterSocks on

Topic category: General Minecraft talk

Last seen on 12:53, 19. Jul 2023
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make it so that my entities will only attack vanilla mpbs

Hi my first question is do modded entities fall into the categories like animal entity or ageable entity

If so how can I make them only attack vanilla entities?

Please if you can answer my question then thanks

Last seen on 06:13, 28. Aug 2023
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If my logic is correct then:…
Sun, 06/19/2022 - 13:12

If my logic is correct then:

1. You can select the type of creature it is when making it ( mob/ creature ) and it has some more information in that section when pressing the "?" buttons

2) There may be a faster way but one way for sure is when you go into AI for your mob, select the block for "attack" under combat. The part where it asks for a "" type" select a vanilla mob. As long as you don't have it set to "fight back" any attacker, it will now only attack that 1 vanilla mob.

Now just copy and paste that block and change the type to every vanilla mob you want it to attack. Then after that huge list finish off with the "combat attack speed" part and that should cover the combat issues

Some block names may be slightly wrong since i do not have it open currently but hopefully that helped

Last seen on 12:53, 19. Jul 2023
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I actually meant attack ALL…
Mon, 07/18/2022 - 18:30

I actually meant attack ALL vanilla mobs but not modded ones