Trail¶
文档版本:1.21.50.25
Defines the entity's trail to carry items.
架构¶
trail:
{
string "block_type" : opt
filters "spawn_filter"
array "spawn_offset" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
}
block_type
:string- 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 ().
spawn_filter
:filters- 一个过滤器组。One or more conditions that must be met in order to cause the chosen block type to spawn.
spawn_offset
:array- 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(-/+).
spawn_offset
0..0
:number
1..1
:number
2..2
:number