Mojira Archive
MCPE-188758

Dogs raise their head and after a few seconds they look at the player.

problem: dogs lift their heads up and hold for at least 5 seconds, PE of minecraft 1.20

Description:
I was playing minecraft PE 1.21.44, I had 3 dogs that were sitting at home, when I came back two dogs were looking up for about 5-6 seconds,
then they started looking at me, it never happened again,

WARNING: the error is not reproduced in any way, it was caught randomly under different circumstances!!!!!.

A little extra info:
on java there is a similar case with golems that I found on the internet but nothing specific about this case is said absolutely nowhere!
I got the code hiprock I think the problem is in it:
“minecraft:entity_sensor": {
    “sensor_range": 2.5, //Radius from which an entity can observe another entity.
    “relative_range": false, //The value is more related to the type of creature. If true, the creature can notice the player depending on the hitbox.
    “require_all": true, //When true, the nearby creature will send coordinates for the entity to look at them
    “minimum_count": 1, //Minimum number of nearby creatures to track.
    “maximum_count": 4, //Maximum number of creatures nearby for tracking.
    “event_filters": { //Event event types that can be added if needed.
        “test": “is_family”, //Check for the presence of a group of mobs.
        “subject":

{ “other”,         “value": ‘player’ //Player.     }

,
    }, “event”: “event:on_player_detected” //The event is triggered if the player is near the creature.
}

Awaiting Response

stepanidze778809

2024-12-03, 03:07 PM

2024-12-05, 11:28 PM

2024-12-05, 11:28 PM

0

2

Unconfirmed

1.21.44 Hotfix

-