Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/behaviors/swell.json

32 lines
867 B
JSON
Raw Normal View History

2021-10-08 12:59:03 +02:00
{
2022-07-26 14:57:37 +01:00
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.swell",
2021-10-08 12:59:03 +02:00
"description": "Allows the creeper to swell up when a player is nearby. It can only be used by Creepers.",
2022-07-26 14:57:37 +01:00
"title": "Swell",
2021-10-08 12:59:03 +02:00
"type": "object",
"additionalProperties": false,
"required": [],
"properties": {
2021-10-11 18:13:12 +02:00
"priority": {
"$ref": "./types/priority.json"
},
2021-10-08 12:59:03 +02:00
"start_distance": {
"type": "number",
"default": 10,
2022-07-22 19:41:04 +02:00
"description": "This mob starts swelling when a target is at least this many blocks away.",
2021-10-08 12:59:03 +02:00
"title": "Start Distance"
},
"stop_distance": {
"type": "number",
"default": 2,
2022-07-22 19:41:04 +02:00
"description": "This mob stops swelling when a target has moved away at least this many blocks.",
2021-10-08 12:59:03 +02:00
"title": "Stop Distance"
}
2021-10-11 18:13:12 +02:00
},
"examples": [
{
"start_distance": 10,
"stop_distance": 2
}
]
2021-10-08 12:59:03 +02:00
}