Entity Documentation - minecraft:behavior.peek
minecraft:behavior.peek
compels an entity to peek out.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
priority | not set | Integer | The higher the priority, the sooner this behavior will be executed as a goal. |
Example
"minecraft:behavior.peek":{
"priority": 2
}
Vanilla entities examples
shulker
"minecraft:peek": {
"on_open": {
"event": "minecraft:on_open"
},
"on_close": {
"event": "minecraft:on_close"
},
"on_target_open": {
"event": "minecraft:on_open"
}
}
Vanilla entities using minecraft:behavior.peek
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for