Home¶
文档版本:1.21.0.24
Saves a home pos for when the the entity is spawned.
架构¶
home:
{
integer "restriction_radius" : opt
array "home_block_list" : opt
{
identifier "<any array element>"
}
}
restriction_radius
:integer- The radius that the entity will be restricted to in relation to its home.
home_block_list
:array- 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
home_block_list