Created new event type. some components only allow for an event to be an object, not a string Co-authored-by: Daan Verstraten <daanverstraten@hotmail.com>
21 lines
596 B
JSON
21 lines
596 B
JSON
{
|
|
"$id": "blockception.minecraft.behavior.entities.minecraft.sittable",
|
|
"description": "Defines the entity's `sit` state.",
|
|
"type": "object",
|
|
"title": "Sittable",
|
|
"additionalProperties": false,
|
|
"required": [],
|
|
"properties": {
|
|
"sit_event": {
|
|
"$ref": "../types/event_object.json",
|
|
"description": "Event to run when the entity enters the `sit` state.",
|
|
"title": "Sit Event"
|
|
},
|
|
"stand_event": {
|
|
"$ref": "../types/event_object.json",
|
|
"description": "Event to run when the entity exits the `sit` state.",
|
|
"title": "Stand Event"
|
|
}
|
|
}
|
|
}
|