Stay Near Noteblock¶
文档版本:1.21.50.25
[EXPERIMENTAL BEHAVIOR] The entity will attempt to toss the items from its inventory to a nearby recently played noteblock.
架构¶
stay_near_noteblock:
{
priority "priority"
integer "listen_time" : opt
number "speed" : opt
number "start_distance" : opt
number "stop_distance" : opt
}
priority
:priority
listen_time
:integer- Sets the time an entity should stay near a noteblock after hearing it.
speed
:number- Sets the entity's speed when moving toward the block.
start_distance
:number- Sets the distance the entity needs to be away from the block to attempt to start the goal.
stop_distance
:number- Sets the distance from the block the entity will attempt to reach.