Sets whether the owning Agent can visibly "see" the
Entity being targeted such that any BlockTypes that
are visibly opaque will prevent the owning Agent from
targeting that Entity.
Gets whether the owning Agent can visibly "see" the
Entity being targeted such that any BlockTypes that
are visibly opaque will prevent the owning Agent from
targeting that Entity.
Methods inherited from interface org.spongepowered.api.entity.ai.goal.Goal
Gets whether the owning Agent can visibly "see" the
Entity being targeted such that any BlockTypes that
are visibly opaque will prevent the owning Agent from
targeting that Entity.
Returns:
Whether line of sight is required to target an entity
Sets whether the owning Agent can visibly "see" the
Entity being targeted such that any BlockTypes that
are visibly opaque will prevent the owning Agent from
targeting that Entity.
Parameters:
checkSight - Whether line of sight is required to target
Returns:
This goal, for chaining
shouldCheckOnlyNearby
booleanshouldCheckOnlyNearby()
Gets whether an Entity can only be targeted within a "short"
radius from the owning Agent.