Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/behaviors/sniff.json
Xterionix 2082ad8e86 1.21.110 (#376)
* - Added precipitation client biome component

* - Renamed input_air_controlled to free_camera_controlled

* - Added vertical_movement_action

* - Renamed dash to dash_action

* - Updated on_death documentation

* - Updated :interact slot list

* - Added drop_item event response

* - Removed experimental markers for poly_mesh

* - Removed experimental markers for texture_meshes

* - Added use_pixel_depth option to texture_mesh

* - Updated swamp surface builder

* - Updated roar behavior

* - Standardize control_flags definition

* - Updated slime_attack behavior

* - Added control_flags to certain goals based on vanilla schemas

* - Added direction to dash_action

* - Added fire_resistant component

* - Added underwater_music field to biome_music

* - Added redstone_producer block component

* - Added flower_pottable

* - Added embedded_visual component

* - Added embedded item_display_transform

* - Added y_rotation filter

* - Added on_take_flower trigger to give_flower behavior

* - Added passenger_of_entity loot condition

* - Added is_baby loot condition

* - Added manifest v3

* - Added stonecutter recipe tag
- Remove duplicate description in recipe schema

* - Give entity_placer block a type
2025-09-08 14:01:39 +02:00

44 lines
1.5 KiB
JSON

{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.sniff",
"additionalProperties": false,
"type": "object",
"title": "Sniff",
"description": "Sniff compels this entity to detect the nearest player within \"sniffing_radius\" and update its minecraft:suspect_tracking component state.",
"properties": {
"priority": {
"$ref": "./types/priority.json"
},
"control_flags": {"$ref": "./types/control_flags.json"},
"cooldown_range": {
"title": "Cooldown Range",
"$ref": "../../../../general/vectors/number2.json",
"default": [3.0, 10.0],
"description": "Cooldown range between sniffs in seconds."
},
"duration": {
"title": "Duration",
"type": "number",
"default": 1.0,
"description": "Sniffing duration in seconds"
},
"sniffing_radius": {
"title": "Sniffing Radius",
"type": "number",
"default": 5.0,
"description": "Mob detection radius."
},
"suspicion_radius_horizontal": {
"title": "Suspicion Radius Horizontal",
"type": "number",
"default": 3.0,
"description": "Mob suspicion horizontal radius. When a player is within this radius horizontally, the anger level towards that player is increased."
},
"suspicion_radius_vertical": {
"title": "Suspicion Radius Vertical",
"type": "number",
"default": 3.0,
"description": "Mob suspicion vertical radius. When a player is within this radius vertically, the anger level towards that player is increased."
}
}
}