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

26 lines
1.6 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.work",
"type": "object",
2021-01-27 01:06:07 +01:00
"title": "Work 1.8.0",
2020-11-01 17:22:42 +01:00
"additionalProperties": false,
"required": [],
"properties": {
2020-12-12 00:09:25 +01:00
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
2021-03-21 15:18:38 +01:00
"active_time": { "type": "integer", "default": 0, "description": "The amount of ticks the NPC will stay in their the work location", "title": "TODO Title" },
"can_work_in_rain": { "type": "boolean", "default": false, "description": "If true, this entity can work when their jobsite POI is being rained on.", "title": "TODO Title" },
"goal_cooldown": { "type": "integer", "default": 0, "description": "The amount of ticks the goal will be on cooldown before it can be used again", "title": "TODO Title" },
"on_arrival": { "$ref": "../types/event.json", "description": "Event to run when the mob reaches their jobsite and finishes working.", "title": "TODO Title" },
"sound_delay_max": { "type": "integer", "default": 0, "description": "The max interval in which a sound will play", "title": "TODO Title" },
"sound_delay_min": { "type": "integer", "default": 0, "description": "The min interval in which a sound will play", "title": "TODO Title" },
2020-11-01 17:22:42 +01:00
"work_in_rain_tolerance": {
"type": "integer",
"default": -1,
"description": "If \"can_work_in_rain\" is false, this is the maximum number of ticks left in the goal where rain will not interrupt the goal",
2021-03-21 15:18:38 +01:00
"title": "TODO Title"
2020-11-01 17:22:42 +01:00
}
},
"description": "TODO description"
}