mojira.dev
MC-300456

home_radius value is not able to be modified for leashed mobs

Summary:
The home_radius value for leashed mobs is not able to be modified. Any attempts to modify it for a leashed mob reverts it back to its default value. However, if the mob is not leashed, the value won’t get reverted to its default until the mob gets leashed.

How to reproduce:
1. Summon a leashable mob and attach a lead to it.
2. Run: /tick freeze
3. Run: /data get entity @n[type=MOB] home_radius (This will show the default home_radius value)
4. Run: /data modify entity @n[type=MOB] home_radius set value X (Set X to a value not equal to the default home_radius value)
5. Run: /data get entity @n[type=MOB] home_radius (This will show the modified value)
6, Run: /tick step
7. Run: /data get entity @n[type=MOB] home_radius
β†’ The modified home_radius value is reset back to its default value ❌

Expected behavior:
The home_radius value should be modifiable.

Attachments

Comments 0

No comments.

Bim

(Unassigned)

Unconfirmed

(Unassigned)

25w31a, 1.21.8

Retrieved