Entity Documentation - minecraft:home

minecraft:home saves a home point of interest for when the the entity is spawned.

Parameters

Name Default Value Type Description
home_block_list not set List Optional block list that the home position will be associated with. If any of the blocks no longer exist at that position, the home restriction is removed. Example syntax: minecraft:sand. Not supported: minecraft:sand:1
restriction_radius -1 Integer The radius that the entity will be restricted to in relation to its home

Example

"minecraft:home":{
    "home_block_list": [],
    "restriction_radius":  -1
}

Vanilla entities examples

elder_guardian

"minecraft:home": {
    "restriction_radius": 16
}

Vanilla entities using minecraft:home