47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
"$id": "blockception.minecraft.behavior.entities.minecraft.trail",
|
|
"description": "Defines the entity's trail to carry items.",
|
|
"type": "object",
|
|
"title": "Trail",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"block_type": {
|
|
"type": "string",
|
|
"default": "air",
|
|
"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 ().",
|
|
"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": [
|
|
{
|
|
"type": "number",
|
|
"title": "X"
|
|
},
|
|
{
|
|
"type": "number",
|
|
"title": "Y"
|
|
},
|
|
{
|
|
"type": "number",
|
|
"title": "Z"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"examples": [
|
|
{
|
|
"block_type": "air",
|
|
"spawn_offset": [0, 0, 0]
|
|
}
|
|
]
|
|
}
|