if (this.cooldown > 0 || !this.mob.getRandom().nextBoolean()) {
29
return false;
30
}
31
32
if (!((Raider)this.mob).hasActiveRaid()) {
33
return false;
34
}
35
36
this.findTarget();
37
return this.target != null;
38
}
39
40
@Override
41
public void start() {
42
this.cooldown = reducedTickDelay(200);
43
super.start();
44
}
45
}
46
Decompiled Minecraft 26.3 source of NearestHealableRaiderTargetGoal (net/minecraft/world/entity/ai/goal/target/NearestHealableRaiderTargetGoal.java) with Mojang official mappings, stored verbatim on the site.