author | ms.author | title | description | ms.service |
---|---|---|---|---|
iconicNurdle |
mikeam |
Entity Documentation - minecraft:on_wake_with_owner |
A reference document detailing the 'on_wake_with_owner' entity trigger |
minecraft-bedrock-edition |
minecraft:on_wake_with_owner
adds a trigger to call when this pet's owner awakes after sleeping with the pet.
Note
minecraft:on_wake_with_owner
requires a player
to be tagged as the entity's owner, via taming or console command.
Name | Default Value | Type | Description |
---|---|---|---|
event | not set | String | The event to run when the conditions for this trigger are met. |
filters | not set | Minecraft Filter | The list of conditions for this trigger to execute. |
target | self | String | The target of the event. |
"minecraft:on_wake_with_owner":{
"event": "minecraft:stretch",
"filters": "is_daytime",
"target": "self",
}
"minecraft:on_wake_with_owner": {
"event": "minecraft:pet_slept_with_owner",
"target": "self"
}