Started by
PszczolkaErina
on
Topic category: Help with Minecraft modding (Java Edition)
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"?
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
No. I DON'T want it to attack other F's. I want it to attack all mobs EXCEPT for F.
Oh then just select all but F
But what if I make another mob? F wouldn't kill him because he's not in the code.
Make all others before F, so they will be saved. Then finish F's AI
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.
Okay, great!
Update: I thought I solved it, but it didn't work. Help!
Helo
Help*
Yes?
It didn't work
The conditions didn't work