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": {
|
2022-08-22 19:13:13 +01:00
|
|
|
"$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": {
|
2022-08-22 19:13:13 +01:00
|
|
|
"$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": {
|
2022-08-22 19:13:13 +01:00
|
|
|
"$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"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|