Affects Version/s: Minecraft 15w50a, Minecraft 15w51b, Minecraft 16w02a, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.11, Minecraft 1.12.1, Minecraft 1.13-pre8, Minecraft 18w32a, Minecraft 1.13.1-pre2, Minecraft 1.13.1, Minecraft 1.13.2-pre1, Minecraft 1.13.2, Minecraft 19w08b, Minecraft 19w09a, 1.15.1, 1.15.2 Pre-release 2, 1.15.2, 20w14a, 20w19a, 1.16.2, 1.16.4, 20w46a, 20w48a
Fix Version/s: None
When a witch is attacked by an undead mob, the witch will throw a splash potion of poison/instant damage. Which has the opposite effect since the target is undead, thus healing it.
- Build a setup as seen here.
- Switch to survival and go behind the witch.
- When the skeleton has shot the witch, switch to creative (F3 + N).
→ The witch starts to heal the skeleton
The following is based on yarn 1.15.2 Pre-release 2 names.
In the method net.minecraft.entity.mob.WitchEntity.attack() it just doesn't check for if the mob is undead and to use another potion if so. I write a fix for this issue which hopefully will help to resolve this issue.
Note: As per
MC-93680, healing is used for both potion options as regeneration does not have the opposite effect on undead mobs.