Started by
InfernoEverflame
on
Topic category: Help with Minecraft modding (Java Edition)
hello To all MCreator developers and Mod creators, i was wondering how you could make a vanilla mob aggressive to a modded mob
Ex: Zombie hostile to Villagers
ok but how to make it target the player
Hi! I'm having a similar problem as well. I've put in the custom code snippet, however, MCreator fails to compile the procedure. Am I doing something wrong?
https://i.imgur.com/UYRefAw.png
https://i.imgur.com/eYPFQN8.png
As an update to my previous post, I appear to have fixed the problem. I wasn't expecting how I fixed it to actually fix it, but... it fixed it! Awesome? Yeah??
@burritoladdy
what did you do to fix it I need to do the same thing but make source entity attack monster entity basically
Okay, turns out I didn't actually fix it. The code functions, but in practice, Minecraft crashes. Your best bet is ahznbs fix.
@ahznbs im moddin on 1.19.2 can you make dreams come true?
It appears this code is... outdated? MobEntity is no longer recognized by MCreator, breaking the snippet.
well if you know any actual programmers that make java code unlike us mcreator's we could prolly give them the old code and they could tell us what its supposed to say, that being said I really hate bothering people its so awkward, I know that mobentity is probably just mob now, but other then that idk anything I gave up on eclispe for a reason im useless at this stuff lmao
@Crimm Have you found out what Mcreator uses now instead of MobEntity
guys im working this out slowly but surely
i will post another comment with an update later but for now
replace "MobEntity" with just "Mob"
that fixes 2 errors
now we are just left with the last error
that is the one im trying to figure out rn
ill comment again when i fix it
YOOOO I FIXED IT
just delete ".CustomEntity"
this is actually so cool
where do I find subtype