Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.8.0/components/minecraft.teleport.json
2021-06-06 10:07:19 +00:00

59 lines
2.0 KiB
JSON

{
"$id": "blockception.minecraft.behavior.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"
}
}
}