26 lines
1.6 KiB
JSON
26 lines
1.6 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.work",
|
|
"type": "object",
|
|
"title": "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"
|
|
}
|