Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/peek.json

26 lines
816 B
JSON
Raw Normal View History

2021-10-08 12:59:03 +02:00
{
2021-10-08 13:04:13 +02:00
"$id": "blockception.minecraft.behavior.entities.minecraft.peek",
2022-07-22 19:41:04 +02:00
"description": "Defines the entity's `peek` behavior, defining the events that should be called during it.",
2021-10-08 12:59:03 +02:00
"type": "object",
2021-10-08 13:04:13 +02:00
"title": "Peek",
2021-10-08 12:59:03 +02:00
"additionalProperties": false,
"required": [],
"properties": {
2021-10-11 18:10:42 +02:00
"on_close": {
"$ref": "../types/event_object.json",
2022-07-22 19:41:04 +02:00
"description": "Event to call when the entity is done peeking.",
2021-10-11 18:10:42 +02:00
"title": "On Close"
},
"on_open": {
"$ref": "../types/event_object.json",
2022-07-22 19:41:04 +02:00
"description": "Event to call when the entity starts peeking.",
2021-10-11 18:10:42 +02:00
"title": "On Open"
},
2021-10-08 12:59:03 +02:00
"on_target_open": {
"$ref": "../types/event_object.json",
2022-07-22 19:41:04 +02:00
"description": "Event to call when the entity's target entity starts peeking.",
2021-10-08 12:59:03 +02:00
"title": "On Target Open"
}
}
}