When I'm near a endermen it will attack me when I don't look at it or hit it. This was a annoying because when I'm about to die the endermen will come out of no where and kill me.
Linked issues
is duplicated by 20
relates to 2
Attachments
Comments 39
Cleaning up old tickets: This ticket has not been updated recently (1 year+) so is being closed as Cannot Reproduce. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Feedback – 📖 Game Wiki
Reopening based on recent duplicate reports. This issue has actually been reported many times over the years but has not had good follow-up.
Relates to MCPE-101703 and MCPE-101705.
@leo190: don’t see how Endermen attacking spontaneously is related to the player taking damage from the ender dragon and ender chests being deleted deep under the end fountain.
I believe the cause of this bug is described by MCPE-188134: enderman get triggered the instant the player's crosshair points at their head. This means endermen can be angered by random sweeping movements of the player's crosshair. There is no time allowed to confirm that the player is actually looking at the enderman. This behavior is not in parity with Java Edition. In Java enderman need to be looked at continuously for 5 ticks to become angry. According to MC-258644 the 5 tick requirement is intended behavior.
I have attached test worlds for Java and Bedrock that can be used to reproduce the disparity/Bedrock bug:
[media][media]
In each world there is an enderman trapped in place by a repeating command block. The button on the command block next to the enderman can be used to kill it and summon a new one. Command blocks in the ground make the player look at the enderman's face and then quickly look away when the player steps on the pressure plate. The number of ticks that the player looks at the enderman's face is set in the Bedrock world by the delay setting of the chain command block, and in the Java world by a repeater.
Steps to reproduce
Open in the test worlds.
Set the desired duration for looking at the enderman in the chain command block (Bedrock) or on the repeater (Java)
Step on the pressure plate.
Repeat steps (2) - (3) with delays of 0 and 1 game tick (Bedrock) and 1, 2, and 3 redstone ticks (Java).
Expected results
Enderman have to be looked continuously for the same number of ticks in Bedrock as in Java.
Observed results
Enderman have to be looked at continuously for only 1 game tick in Bedrock, compared with 5 ticks ( >2 and <=3 redstone repeater ticks) in Java.
[media]
I took a look at my clip I attached to this report on April 4th, 2024, and was able to notice that at the start of the clip, my crosshair did indeed seem to briefly cross contact with the head of an enderman in the very far distance (at least 20 blocks away). This would make GoldenHelmet’s theory about enderman instantly becoming aggravated by a player’s crosshair briefly pointing at their head correct. The way to fix this would indeed be to increase the amount of ticks a player has to look at an enderman for in order for the endermen to become aggravated, as it seems like it can sometimes be instantaneous, and they can become aggravated almost instantly after the player’s crosshair comes in contact with their head.Â
This seems like a perfect opportunity to fix MCPE-43530 now that the aggro delay has been added.
Mcpe iPad - same issue. Endermen attack without even looking at them first.