generated from FabricMC/fabric-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 0
Act On Owner
Provismet edited this page Sep 9, 2023
·
2 revisions
Performs a bientity action on the owner of this tamed entity. The tamed entity is the actor and the owner is the target.
Type ID: proviorigins:owner_bientity
Field | Type | Default | Description |
---|---|---|---|
bientity_action |
Bientity Action | The action to perform. | |
bientity_condition |
Bientity Condition | Optional | The bientity action will only execute if this condition is met. |
"entity_action": {
"type": "origins:self_action_on_kill",
"entity_action": {
"type": "proviorigins:owner_bientity",
"bientity_action": {
"type": "origins:target_action",
"action": {
"type": "origins:heal",
"amount": 2
}
}
}
}
This power heals the owner of a tamed entity when that entity kills another.