Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/peek.json
2022-07-22 19:41:04 +02:00

26 lines
795 B
JSON

{
"$id": "blockception.minecraft.behavior.entities.minecraft.peek",
"description": "Defines the entity's `peek` behavior, defining the events that should be called during it.",
"type": "object",
"title": "Peek",
"additionalProperties": false,
"required": [],
"properties": {
"on_close": {
"$ref": "../types/event.json",
"description": "Event to call when the entity is done peeking.",
"title": "On Close"
},
"on_open": {
"$ref": "../types/event.json",
"description": "Event to call when the entity starts peeking.",
"title": "On Open"
},
"on_target_open": {
"$ref": "../types/event.json",
"description": "Event to call when the entity's target entity starts peeking.",
"title": "On Target Open"
}
}
}