49 lines
3.6 KiB
JSON
49 lines
3.6 KiB
JSON
{
|
||
"$schema": "http://json-schema.org/draft-07/schema",
|
||
"$id": "blockception.minecraft.behaviour.1.16.200.block.events.teleport",
|
||
"type": "object",
|
||
"description": "Teleport target randomly around destination point.",
|
||
"title": "teleport 1.16.200",
|
||
"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": "Max range the target can teleport relative to the origin destination.",
|
||
"title": "max 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"
|
||
}
|
||
}
|
||
}
|