Files
minecraft-bedrock-json-schemas/behaviour/entities/1.8.0/behaviors/minecraft.behavior.work.json
2020-12-12 00:09:25 +01:00

55 lines
1.8 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.work",
"type": "object",
"title": "Behavior.work 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"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"
},
"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",
"title": "TODO title"
}
},
"description": "TODO description"
}