Files
minecraft-bedrock-json-schemas/behaviour/entities/1.8.0/behaviors/minecraft.behavior.go_home.json
2020-11-01 17:22:42 +01:00

27 lines
1.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.go_home",
"type": "object",
"title": "Behavior.go_home 1.8.0",
"description": "Allows the mob to move back to the position they were spawned.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "ref": "types/base_priority.json" },
"speed_multiplier": { "ref": "types/base_speed_multiplier.json" },
"goal_radius": {
"type": "number",
"default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "TODO title"
},
"interval": {
"type": "integer",
"default": 120,
"description": "A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal",
"title": "TODO title"
},
"on_home": { "$ref": "../types/event.json", "description": "Event to run when this mob gets home.", "title": "TODO title" }
}
}