Files

47 lines
1.3 KiB
JSON
Raw Permalink Normal View History

2021-10-08 12:59:03 +02:00
{
2021-10-08 13:04:13 +02:00
"$id": "blockception.minecraft.behavior.entities.minecraft.trail",
2021-10-08 12:59:03 +02:00
"description": "Defines the entity's trail to carry items.",
"type": "object",
2021-10-08 13:04:13 +02:00
"title": "Trail",
2021-10-08 12:59:03 +02:00
"additionalProperties": false,
"properties": {
"block_type": {
"type": "string",
"default": "air",
2021-10-08 13:04:13 +02:00
"description": "The type of block you wish to be spawned by the entity as it move about the world. Solid blocks may not be spawned at an offset of ().",
2021-10-08 12:59:03 +02:00
"title": "Block Type"
},
"spawn_filter": {
"$ref": "../../filters/filters.json",
"description": "One or more conditions that must be met in order to cause the chosen block type to spawn.",
"title": "Spawn Filter"
},
"spawn_offset": {
"type": "array",
"default": [0, 0, 0],
"description": "The distance from the entities current position to spawn the block. Capped at up to 16 blocks away. The X value is left/right(-/+), the Z value is backward/forward(-/+), the Y value is below/above(-/+).",
"title": "Spawn Offset",
"items": [
2021-10-11 18:10:42 +02:00
{
"type": "number",
"title": "X"
},
{
"type": "number",
"title": "Y"
},
{
"type": "number",
"title": "Z"
}
2021-10-08 12:59:03 +02:00
]
}
2021-10-11 18:10:42 +02:00
},
"examples": [
{
"block_type": "air",
"spawn_offset": [0, 0, 0]
}
]
2021-10-08 12:59:03 +02:00
}