Updated
This commit is contained in:
@@ -3,30 +3,23 @@
|
||||
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.go_home",
|
||||
"additionalProperties": false,
|
||||
"description": "Allows the mob to move back to the position they were spawned.",
|
||||
"title": "Go home",
|
||||
"title": "Go Home",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
"on_home_spec": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "On home event",
|
||||
"title": "On Home Event",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"properties": {
|
||||
"event": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-zA-Z0-9_\\-:]+$",
|
||||
"description": "The event to fire",
|
||||
"title": "Event"
|
||||
},
|
||||
"event": { "type": "string", "pattern": "^[a-zA-Z0-9_\\-:]+$", "description": "The event to fire", "title": "Event" },
|
||||
"target": {
|
||||
"type": "string",
|
||||
"description": "The target of the event",
|
||||
"title": "Target",
|
||||
"enum": ["baby", "block", "damager", "other", "parent", "player", "self", "target"]
|
||||
},
|
||||
"filters": {
|
||||
"$ref": "../filters.json"
|
||||
}
|
||||
"filters": { "$ref": "../filters.json" }
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -37,7 +30,7 @@
|
||||
"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": "Goal radius"
|
||||
"title": "Goal Radius"
|
||||
},
|
||||
"interval": {
|
||||
"type": "integer",
|
||||
@@ -47,24 +40,13 @@
|
||||
},
|
||||
"on_home": {
|
||||
"description": "Event to run when this mob gets home.",
|
||||
"title": "On home",
|
||||
"title": "On Home",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-zA-Z0-9_\\-:]+$"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/on_home_spec"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/on_home_spec"
|
||||
}
|
||||
}
|
||||
{ "type": "string", "pattern": "^[a-zA-Z0-9_\\-:]+$" },
|
||||
{ "type": "object", "$ref": "#/definitions/on_home_spec" },
|
||||
{ "type": "array", "items": { "$ref": "#/definitions/on_home_spec" } }
|
||||
]
|
||||
},
|
||||
"on_failed": { "$ref": "../types/event.json", "title": "On failed", "description": "UNDOCUMENTATED" }
|
||||
"on_failed": { "$ref": "../types/event.json", "title": "On Failed", "description": "UNDOCUMENTATED" }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user