68 lines
2.1 KiB
JSON
68 lines
2.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.sneeze",
|
|
"additionalProperties": false,
|
|
"description": "Allows the mob to stop and sneeze possibly startling nearby mobs and dropping an item.",
|
|
"type": "object",
|
|
"title": "Sneeze 1.8.0",
|
|
"required": [],
|
|
"properties": {
|
|
"priority": { "$ref": "./types/base_priority.json" },
|
|
"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"
|
|
},
|
|
"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).",
|
|
"title": "Prepare time"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|