Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.8.0/behaviors/minecraft.behavior.sneeze.json

27 lines
1.9 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
2021-04-04 13:52:35 +02:00
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.sneeze",
2020-11-01 17:22:42 +01:00
"additionalProperties": false,
"description": "Allows the mob to stop and sneeze possibly startling nearby mobs and dropping an item.",
"type": "object",
2021-01-27 01:06:07 +01:00
"title": "Sneeze 1.8.0",
2020-11-01 17:22:42 +01:00
"required": [],
"properties": {
2020-12-12 00:09:25 +01:00
"priority": { "$ref": "./types/base_priority.json" },
2021-03-21 15:18:38 +01:00
"cooldown_time": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the goal again", "title": "TODO Title" },
"drop_item_chance": { "type": "number", "default": 1, "description": "The probability that the mob will drop an item when it sneezes.", "title": "TODO Title" },
"entity_types": { "$ref": "../types/entity_types.json", "description": "List of entity types this mob will startle (cause to jump) when it sneezes.", "title": "TODO Title" },
"loot_table": { "type": "string", "default": "", "description": "Loot table to select dropped items from.", "title": "Loot Table" },
"prepare_sound": { "type": "string", "default": "", "description": "Sound to play when the sneeze is about to happen.", "title": "Prepare Sound" },
2020-11-01 17:22:42 +01:00
"prepare_time": {
"type": "number",
"default": 1,
"description": "The time in seconds that the mob takes to prepare to sneeze (while the prepare_sound is playing).",
2021-03-21 15:18:38 +01:00
"title": "Prepare Time"
2020-11-01 17:22:42 +01:00
},
2021-03-21 15:18:38 +01:00
"probability": { "type": "number", "default": 0.02, "minimum": 0, "maximum": 1, "description": "The probability of sneezing. A value of 1.00 is 100%", "title": "Probability" },
"sound": { "type": "string", "default": "", "description": "Sound to play when the sneeze occurs.", "title": "Sound" },
"within_radius": { "type": "number", "default": 0, "description": "Distance in blocks that mobs will be startled.", "title": "Within Radius" }
2020-11-01 17:22:42 +01:00
}
}