Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/sittable.json
ChibiMango 534d77c389 Created & applied new event_object type (#109)
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>
2022-08-22 20:13:13 +02:00

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"
}
}
}