Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/minecraft.peek.json
2021-10-08 13:04:13 +02:00

18 lines
747 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"
}
}
}