Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/home.json
Xterionix ec99529c64 Updated to 1.21.50 (#330)
* - Add new client biome components
* - Added built-in block tags
* - Add liquid detection block component
* - Add item visual component
* - Allow ambient_occlusion to use floats
* - Added cannot_be_attacked and ignore component
* - Added play_sound event response
* - Added summon_event property to summon_entity behavior
* - Updated home and looked_at components
* - Added compostable item component
* - Added jigsaws
* - Added processor_lists
* - Made identifier required in jigsaws
* - Added structure sets
* - Remove compressed volume file
* - Add template pools
* - Setup jigsaw schemas
* - Added broadcast_when_dying
* - Update interact.vibration
* - Fix format_version ref in jigsaw schemas
2024-12-05 16:54:27 +01:00

39 lines
1.8 KiB
JSON

{
"$id": "blockception.minecraft.behavior.entities.minecraft.home",
"type": "object",
"title": "Home",
"description": "Saves a home pos for when the the entity is spawned.",
"additionalProperties": false,
"properties": {
"restriction_radius": {
"title": "Restriction Radius",
"description": "The radius that the entity will be restricted to in relation to its home.",
"type": "integer",
"default": -1
},
"home_block_list": {
"title": "Home Block List",
"description": "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",
"type": "array",
"items": {
"title": "Home Block",
"description": "Optional block 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",
"type": "string",
"$ref": "../../../../general/item/identifier.json"
}
},
"restriction_type": {
"title": "Restriction Type",
"description": "Defines how the the entity will be restricted to its home position. The possible values are:\n- 'none', which poses no restriction.\n- 'random_movement', which restricts randomized movement to be around the home position.\n- 'all_movement', which restricts any kind of movement to be around the home position. However, entities that somehow got too far away from their home will always be able to move closer to it, if prompted to do so.",
"enum": [ "none", "random_movement", "all_movement" ],
"default": "none"
}
},
"examples": [
{
"restriction_radius": -1,
"home_block_list": [ ]
}
]
}