Help with custom letter F mob

Started by PszczolkaErina on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with custom letter F mob

I'm making an Alphabet Lore mod and have an issue with letter F.

I want letter F to attack all other mobs and players. But when I did the code for the AI tasks/goals, F attacks not only the mobs and players, but also other F's. How do I fix it so that letter F doesn't kill other F's? Is there a way to code "Mob Entity that isn't a letter F"?

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In entity AI, select the…
Sun, 01/29/2023 - 20:12

In entity AI, select the template, "Mob agressive to play," right click the Attack (In sight only) type "Player."

Duplicate, select the place where it says player, and select F.

You may need to save the mob first so that it shows up as an existing entity

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No. I DON'T want it to…
Mon, 01/30/2023 - 11:42

No. I DON'T want it to attack other F's. I want it to attack all mobs EXCEPT for F.

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh then just select all but F
Mon, 01/30/2023 - 13:53

Oh then just select all but F

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But what if I make another…
Mon, 01/30/2023 - 14:18

But what if I make another mob? F wouldn't kill him because he's not in the code.

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make all others before F, so…
Mon, 01/30/2023 - 14:34

Make all others before F, so they will be saved. Then finish F's AI

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That would be painstaking…
Mon, 01/30/2023 - 14:53

That would be painstaking because there will be 1000 mobs in this mod. But I've already solved the problem myself. I can use conditions for that.

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay, great!
Mon, 01/30/2023 - 15:06

Okay, great!

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Update: I thought I solved…
Mon, 01/30/2023 - 15:13

Update: I thought I solved it, but it didn't work. Help!

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The conditions didn't work
Wed, 02/01/2023 - 20:00

The conditions didn't work