HasRequiredTargetEntity
A ContextIntention that has required parameters about a target entity.
Autofillers
| Target | # | Source(s) | Notes |
|---|---|---|---|
| TARGET_ENTITY_UUID | 1. | TARGET_ENTITY | |
| TARGET_ENTITY_LOCATION | 1. | TARGET_ENTITY | |
| TARGET_ENTITY_WORLD | 1. | TARGET_ENTITY_LOCATION | |
| TARGET_ENTITY_DIRECTION | 1. | TARGET_ENTITY_LOCATION | |
| TARGET_LIVING_ENTITY | 1. | TARGET_ENTITY | Only if living entity |
| TARGET_PLAYER | 1. | TARGET_ENTITY | Only if player |
Inheritors
Properties
The parameter types that must be present in a context with this intention.
The target entity.
The direction that the target entity is facing.
The location of the target entity.
The UUID of the target entity.
The world of the target entity.
The target entity as a living entity.
The target entity as a player.
Functions
Adds an autofiller for paramType to this intention, allowing contexts with this intention to autofill parameters of this type if they are not explicitly specified.
Gets the autofillers for paramType in this intention in the order they should be queried.
Adds paramType as a required context parameter type for this intention, forcing all contexts with this intention to have a parameter of this type, either through explicit specification or through autofilling.