How do i make a new mob type/faction?

Started by BlackLight079 on

Topic category: Help with modding (Java Edition)

Last seen on 12:38, 7. Jun 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i make a new mob type/faction?

I want to make mobs that attack everything except mobs of their kind. 

Here i'm using the 'Attack entities of type ... ' task and 'Mob entity' as the mob type, but that just makes them attack everything including themselves.

(image here)

Is there a way in Mcreator to create a new mob type or any other way to solve this problem?

Last seen on 19:33, 18. Feb 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Add a condition (After the…
Tue, 06/06/2023 - 11:38

Add a condition (After the mob entity). Here is a link to the tutorial about it.

I can't find one so here is mine. 

Create a new procedure. In it when you want the mob to attack that mob, put return true. If not, return false. You can add the if conditions. Select the procedure in the ai goals block.