跳转至

Sittable

文档版本:1.21.0.24

Defines the entity's sit state.

架构

sittable:
{
  event_object "sit_event"
  event_object "stand_event"
}
sit_eventevent_object
Event to run when the entity enters the sit state.
event_object:
{
  filters "filters"
  string "event" : opt
  string "target" : opt
}
filtersfilters
一个过滤器组
eventstring
The event to fire.
targetstring
The target of the event.
stand_eventevent_object
Event to run when the entity exits the sit state.