Files
minecraft-bedrock-json-schemas/source/behaviour/entities/1.8.0/components/minecraft.teleport.json
2021-02-01 18:39:12 +01:00

74 lines
2.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.teleport",
"description": "Defines an entity's teleporting behavior.",
"type": "object",
"title": "Teleport 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
"dark_teleport_chance": {
"type": "number",
"default": 0.01,
"description": "Modifies the chance that the entity will teleport if the entity is in darkness",
"title": "TODO title"
},
"light_teleport_chance": {
"type": "number",
"default": 0.01,
"description": "Modifies the chance that the entity will teleport if the entity is in daylight",
"title": "TODO title"
},
"max_random_teleport_time": {
"type": "number",
"default": 20,
"description": "Maximum amount of time in seconds between random teleports",
"title": "TODO title"
},
"min_random_teleport_time": {
"type": "number",
"default": 0,
"description": "Minimum amount of time in seconds between random teleports",
"title": "TODO title"
},
"random_teleport_cube": {
"type": "array",
"default": [32.0, 16.0, 32.0],
"items": [
{
"type": "number",
"title": "A"
},
{
"type": "number",
"title": "B"
},
{
"type": "number",
"title": "C"
}
],
"description": "Entity will teleport to a random position within the area defined by this cube",
"title": "TODO title"
},
"random_teleports": {
"type": "boolean",
"default": true,
"description": "If true, the entity will teleport randomly",
"title": "TODO title"
},
"target_distance": {
"type": "number",
"default": 16,
"description": "Maximum distance the entity will teleport when chasing a target",
"title": "TODO title"
},
"target_teleport_chance": {
"type": "number",
"default": 1,
"description": "The chance that the entity will teleport between 0.0 and 1.0. 1.0 means 100%",
"title": "TODO title"
}
}
}