generated from FabricMC/fabric-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 0
Act On Closest
Provismet edited this page Jun 14, 2023
·
3 revisions
Performs a bientity action on the closest eligible entity. The entity using this action is the actor and the found entity is the target.
Type ID: proviorigins:closest_bientity
Note |
---|
The search area for this action is a bounding box centred on the user. The distance from the user to any side of the box is the distance variable. Note that the corners of the bounding box are included in the search but exceed the distance value. |
Field | Type | Default | Description |
---|---|---|---|
distance |
Float | The maximum radius to scan for entities. | |
bientity_action |
Bientity Action Type | The bientity action to execute. | |
bientity_condition |
Bientity Condition Type | Only pairings that fulfil this condition are considered. |