Files
minecraft-bedrock-json-schemas/source/behavior/blocks/format/events/teleport.json
2022-06-07 21:39:02 +02:00

43 lines
1.7 KiB
JSON

{
"$id": "blockception.minecraft.behavior.block.events.teleport",
"type": "object",
"description": "Teleport target randomly around destination point.",
"title": "Teleport",
"additionalProperties": false,
"properties": {
"avoid_water": {
"type": "boolean",
"default": true,
"description": "Determines if the teleport avoids putting the target in water.",
"title": "Avoid Water"
},
"destination": {
"default": [0.0, 0.0, 0.0],
"description": "Origin destination of the teleport.",
"title": "Destination",
"items": [
{ "type": "number", "title": "X", "description": "The x offset from the block's center." },
{ "type": "number", "title": "Y", "description": "The y offset from the block's center." },
{ "type": "number", "title": "Z", "description": "The z offset from the block's center." }
]
},
"land_on_block": {
"type": "boolean",
"default": true,
"description": "Determines if the teleport places the target on a block.",
"title": "Land On Block"
},
"max_range": {
"default": [8.0, 8.0, 8.0],
"description": "Maximum range the target can teleport relative to the origin destination.",
"title": "Maximum Range",
"items": [
{ "type": "number", "title": "X", "description": "The x offset from the block's center." },
{ "type": "number", "title": "Y", "description": "The y offset from the block's center." },
{ "type": "number", "title": "Z", "description": "The z offset from the block's center." }
]
},
"target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" }
}
}