Topic category: Minecraft mod ideas exchange
is it possible to edit the vanilla mobs of Minecraft? ie; Make pillagers only attack you if you provoke them. ie, make all cows able to attack the player. Or is this only true for a mob I make? in the mod i am working on I made a zombie cow that will attack other cows & players & spawns a zombie cow each time it kills. Yet i wonder if I could have normal cows just turn rather than needing the 2 cow types to interact. Also for pillagers i made a village of custom villagers that only attack if provoked. Villagers take an oath of peace, & bind arms together, so why do pillagers ignore this oath when it can be such a good story building point. Yet i wonder if all pillagers could be changed or if it is limited to the custom villager shapped mobs i could make?
For the custom mob interactions part, you could have the custom mob attack the type of mob you want it to attack, and if you want the mob to "transform" into a different mob when it dies to the custom mob, make a global procedure for when mobs die, and make sure the source entity is the custom mob, and the event/target entity is the mob you want interactions with, and make it despawn and make a different mob appear in its place using either the "spawn entity" code block or the command code block with the command being /summon used to spawn the entity you want to spawn in the dead mob's place.
i gotu bro
so the first thing is that mobs like cows are by code passive
so instead trying to deal with behaviors you make a more Manual approach.
and for redpikmin the argument is contradiction of the request who doesn't want to make a new entity
and for pillagers..
pillager are more easier.
as pillagers are nonaggressive without crossbows or arrows.
so you just make pillager not spawn with crossbows and give them crossbows when they are attacked.