How do i make a new mob type/faction?

Started by BlackLight079 on

Topic category: Help with Minecraft modding (Java Edition)

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?

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.