Parrots can still be sitting on shoulders, when they are burning, poisoning and withering
The bug
Parrots can still be sitting on shoulders, when they are burning, poisoning and withering.
Caused the following issues:
- When the parrot is on the shoulder, will not have fire animation and potion particles. (This relates to
MC-115111) - No matter how long the parrot stays on the shoulders, when they get off the shoulders still continue to burn, poison and wither (in general, no status effects can be applied or tick down, or have any effect on a shoulder parrot).
Code analysis
The following is based on a decompiled version of Minecraft 1.12.2 using MCP 9.40.
The reason for this is, because the flag boolean in the method net.minecraft.entity.ai.EntityAILandOnOwnersShoulder.shouldExecute() does not check if the entity (parrot) is burning, is poisoned or withered.
boolean flag = entitylivingbase != null && !((EntityPlayer)entitylivingbase).isSpectator() && !((EntityPlayer)entitylivingbase).capabilities.isFlying && !entitylivingbase.isInWater() && //Everything beneath is added to fix this issue !entity.isBurning() && !entity.isPotionActive(MobEffects.POISON) && !entity.isPotionActive(MobEffects.WITHER);
- Unresolved
[Mod] Les3awe- 13
- 7
- Confirmed
- Mob behaviour Player
- burn parrot poison shoulder wither
1.12.2 - 25w05a
1.12.2 17w50a 18w01a 18w02a 18w03a 18w03b 18w05a 18w06a 18w07a 18w07b 18w07c 18w08a 18w08b 18w09a 18w10a 18w10b 18w10c 18w10d 18w11a 18w14a 18w14b 18w15a 18w16a 18w19b 18w20c 1.13-pre1 1.13-pre6 1.13 18w31a 18w32a 18w33a 1.13.1-pre1 1.13.1-pre2 1.13.1 1.13.2-pre1 1.13.2-pre2 1.13.2 18w43a 18w43b 18w43c 18w44a 18w45a 18w46a 18w48a 18w48b 18w49a 18w50a 19w12b 19w13b 19w14a 19w14b 1.14.3 1.14.4 19w34a 19w39a 19w40a 19w45a 19w45b 19w46b 1.15-pre1 1.15 1.15.1 1.15.2-pre1 1.15.2-pre2 1.15.2 20w06a 20w07a 20w08a 20w09a 20w10a 20w11a 20w12a 20w13b 20w18a 1.16-pre3 1.16-rc1 1.16 1.16.1 1.16.2-pre1 1.16.2-rc1 1.16.2-rc2 1.16.2 1.16.3 1.16.4-pre1 1.16.4-rc1 1.16.4 20w45a 21w03a 1.16.5 21w05a 21w20a 1.17-pre2 1.17-pre5 1.17-rc1 1.17.1-rc1 1.17.1 21w37a 21w40a 21w43a 1.18-pre5 1.18 1.18.1-rc1 1.19 1.19.1-rc2 1.19.1-rc3 1.19.1 1.19.2-rc1 1.19.2 22w42a 1.19.3-rc1 1.19.3 23w04a 23w06a 1.19.4-rc1 1.19.4-rc3 1.19.4 23w16a 23w17a 23w18a 1.20-pre1 1.20-pre2 1.20-pre3 1.20-pre4 1.20-pre5 1.20-pre6 1.20-pre7 1.20-rc1 1.20 1.20.1-rc1 1.20.1 23w31a 23w32a 23w33a 23w35a 1.20.2-pre2 1.20.2-rc1 1.20.2 23w40a 23w41a 23w42a 23w43b 23w44a 23w45a 23w46a 1.20.3-pre2 1.20.3-rc1 1.20.4 23w51b 24w03b 24w04a 24w05b 24w06a 24w07a 24w09a 24w11a 24w12a 24w13a 24w14a 1.20.5-pre1 1.20.5-pre3 1.20.5-rc2 1.20.5 1.20.6-rc1 1.20.6 24w18a 24w21b 1.21-pre2 1.21-pre4 1.21-rc1 1.21 24w33a 1.21.1 24w34a 24w35a 24w36a 24w37a 24w38a 24w39a 1.21.2-pre3 24w44a 1.21.3 1.21.4 25w02a 25w03a 25w05a
Created Issue:
Parrots can still be sitting on shoulders, when they are burning, poisoning and withering
Parrots can still be sitting on shoulders, when they are burning, poisoning and withering.
Parrots can still be sitting on shoulders, when they are burning, poisoning and withering.
Caused:
- When the parrot is on the shoulder, will not have fire animation and potion particles.
- No matter how long the parrot stays on the shoulders, when they get off the shoulders still continue to burn, poison and wither.
Parrots can still be sitting on shoulders, when they are burning, poisoning and withering.
Caused:
- When the parrot is on the shoulder, will not have fire animation and potion particles.
- No matter how long the parrot stays on the shoulders, when they get off the shoulders still continue to burn, poison and wither.
Parrots can still be sitting on shoulders, when they are burning, poisoning and withering.
Caused the following problems:
- When the parrot is on the shoulder, will not have fire animation and potion particles. (This relates to
MC-115111)- No matter how long the parrot stays on the shoulders, when they get off the shoulders still continue to burn, poison and wither.
Parrots can still be sitting on shoulders, when they are burning, poisoning and withering.
Caused the following
problems:
- When the parrot is on the shoulder, will not have fire animation and potion particles. (This relates to
MC-115111)- No matter how long the parrot stays on the shoulders, when they get off the shoulders still continue to burn, poison and wither.
Parrots can still be sitting on shoulders, when they are burning, poisoning and withering.
Caused the following issues:
- When the parrot is on the shoulder, will not have fire animation and potion particles. (This relates to
MC-115111)- No matter how long the parrot stays on the shoulders, when they get off the shoulders still continue to burn, poison and wither.
Parrots can still be sitting on shoulders, when they are burning, poisoning and withering.
Caused the following issues:
- When the parrot is on the shoulder, will not have fire animation and potion particles. (This relates to
MC-115111)- No matter how long the parrot stays on the shoulders, when they get off the shoulders still continue to burn, poison and wither (in general, no status effects can be applied or tick down, or have any effect on a shoulder parrot).
relates to
relates to
The bug
Parrots can still be sitting on shoulders, when they are burning, poisoning and withering.
Caused the following issues:
- When the parrot is on the shoulder, will not have fire animation and potion particles. (This relates to
MC-115111)- No matter how long the parrot stays on the shoulders, when they get off the shoulders still continue to burn, poison and wither (in general, no status effects can be applied or tick down, or have any effect on a shoulder parrot).
Code analysis
The following is based on a decompiled version of Minecraft 1.12.2 using MCP 9.40.
The reason for this is, because the flag boolean in the method net.minecraft.entity.ai.EntityAILandOnOwnersShoulder.shouldExecute() does not check if the entity (parrot) is burning, is poisoned or withered.Suggested fixboolean flag = entitylivingbase != null && !((EntityPlayer)entitylivingbase).isSpectator() && !((EntityPlayer)entitylivingbase).capabilities.isFlying && !entitylivingbase.isInWater() && //Everything beneath is added to fix this issue !entity.isBurning() && !entity.isPotionActive(MobEffects.POISON) && !entity.isPotionActive(MobEffects.WITHER);
relates to









In 20w12a
In 1.16 Pre 3
Can confirm in 21w03a.
Can confirm in 21w05a.