Since MC-236805 was resolved as "Works as Intended", I'm reporting it here. This change was made in 21w37a.
In Java Edition, vindicators named Johnny no longer attack baby villagers.
In Bedrock Edition, they do.
Relates to MC-236805, which was resolved as WAI, making a parity difference.
Step to Reproduce
1. Rename the Vindicator Spawn Egg to Johnny.
2. Spawn a baby villager (might take awhile for some)
3. Spawn the Johnny Vindicator.
Expected Result
Johnny doesn't attack the baby villagers.
Observed Result
Johnny attacks the baby villagers.
Comments 5
Youβre right Sniper1.1. This bug is super easy to fix.
First, go to the villager_v2.json file, then go to the baby component group and add these lines of code of the minecraft:type_family component.
"minecraft:type_family": {
"family": [
"baby_villager",
"villager",
"mob"
]
}And go to the minecraft:entity_born event and remove the unskilled component group from it. From this:
"add": {
"component_groups": [
"baby",
"unskilled",
"child_schedule"
]
}to this:
"add": {
"component_groups": [
"baby",
"child_schedule"
]
}Then go to the vindicator.json and change minecraft:behavior.nearest_attackable_target component in minecraft:vindicator_johnny from this:
"minecraft:vindicator_johnny": {
"minecraft:behavior.nearest_attackable_target": {
"must_see": true,
"within_radius": 12,
"must_see_forget_duration": 40,
"entity_types": [
{
"filters": {
"AND": [
{
"test": "is_family",
"subject": 1,
"operator": 1,
"value": "illager"
}
]
},
"max_dist": 12
}
],
"priority": 2
}
}to this:
"minecraft:vindicator_johnny": {
"minecraft:behavior.nearest_attackable_target": {
"must_see": true,
"within_radius": 12,
"must_see_forget_duration": 40,
"entity_types": [
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"operator": "!=",
"value": "illager"
},
{
"test": "is_family",
"subject": "other",
"operator": "!=",
"value": "baby_villager"
}
]
},
"max_dist": 12
}
],
"priority": 2
}
}Crazy how we can fix these bugs but Mojang canβt.
Thank you for your report!
However, this issue has been closed as Won't Fix.
If you'd like to post a suggestion or give further feedback, please visit the Minecraft Feedback Site or choose a link below.
Quick Links:
π Issue Guidelines β π¬ Mojang Support β π§ Suggestions β π Minecraft Wiki