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

56 lines
1.7 KiB
JSON
Raw Normal View History

2021-10-08 12:59:03 +02:00
{
2021-10-08 13:04:13 +02:00
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.nap",
2021-10-08 12:59:03 +02:00
"type": "object",
2021-10-08 13:04:13 +02:00
"title": "Nap",
2021-10-08 12:59:03 +02:00
"description": "Allows the mob to move back into lava when on land.",
"additionalProperties": false,
"properties": {
"priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
2021-10-08 12:59:03 +02:00
"cooldown_max": {
2022-07-13 22:39:45 +01:00
"title": "Cooldown Max",
2021-10-08 12:59:03 +02:00
"type": "number",
"default": 0,
2022-07-13 22:39:45 +01:00
"description": "Maximum time in seconds the mob has to wait before using the goal again"
2021-10-08 12:59:03 +02:00
},
"cooldown_min": {
2022-07-13 22:39:45 +01:00
"title": "Cooldown Min",
2021-10-08 12:59:03 +02:00
"type": "number",
"default": 0,
2022-07-13 22:39:45 +01:00
"description": "Minimum time in seconds the mob has to wait before using the goal again"
2021-10-08 12:59:03 +02:00
},
"mob_detect_dist": {
2022-07-13 22:39:45 +01:00
"title": "Mob Detect Dist",
2021-10-08 12:59:03 +02:00
"type": "number",
"default": 6,
2022-07-13 22:39:45 +01:00
"description": "The block distance in x and z that will be checked for mobs that this mob detects"
2021-10-08 12:59:03 +02:00
},
"mob_detect_height": {
2022-07-13 22:39:45 +01:00
"title": "Mob Detect Height",
2021-10-08 12:59:03 +02:00
"type": "number",
"default": 6,
2022-07-13 22:39:45 +01:00
"description": "The block distance in y that will be checked for mobs that this mob detects"
2021-10-08 12:59:03 +02:00
},
"can_nap_filters": {
2022-07-13 22:39:45 +01:00
"title": "Can Nap Filters",
2021-10-08 12:59:03 +02:00
"$ref": "../../filters/filters.json",
2022-03-14 12:55:47 +01:00
"description": "The filters that need to be met for the nap to take place",
2022-07-13 22:39:45 +01:00
"$comment": "UNDOCUMENTED"
2021-10-08 12:59:03 +02:00
},
"wake_mob_exceptions": {
2022-07-13 22:39:45 +01:00
"title": "Wake Mob Exceptions",
2021-10-08 12:59:03 +02:00
"$ref": "../../filters/filters.json",
2022-03-14 12:55:47 +01:00
"description": "Filters that can trigger the entity to wake up from it nap",
2022-07-13 22:39:45 +01:00
"$comment": "UNDOCUMENTED"
2021-10-08 12:59:03 +02:00
}
2021-10-11 18:13:12 +02:00
},
"examples": [
{
"cooldown_max": 0,
"cooldown_min": 0,
"mob_detect_dist": 6,
"mob_detect_height": 6
}
]
2022-03-14 12:55:47 +01:00
}