File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
src/main/java/org/spongepowered/api/entity Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -328,6 +328,13 @@ default boolean canSee(final Entity entity) {
328328 return !optional .isPresent () || !optional .get ();
329329 }
330330
331+ /**
332+ * Makes the entity look at the specified target position.
333+ *
334+ * @param targetPos Position to target
335+ */
336+ void lookAt (Vector3d targetPos );
337+
331338 /**
332339 * {@link Keys#DISPLAY_NAME}
333340 *
Original file line number Diff line number Diff line change 3131import org .spongepowered .api .entity .attribute .Attribute ;
3232import org .spongepowered .api .entity .attribute .AttributeHolder ;
3333import org .spongepowered .api .item .inventory .ItemStackSnapshot ;
34- import org .spongepowered .api .projectile .source .EntityProjectileSource ;
3534import org .spongepowered .api .scoreboard .TeamMember ;
3635import org .spongepowered .math .imaginary .Quaterniond ;
3736import org .spongepowered .math .vector .Vector3d ;
@@ -164,13 +163,6 @@ default Value.Mutable<Double> walkingSpeed() {
164163 return this .requireValue (Keys .WALKING_SPEED ).asMutable ();
165164 }
166165
167- /**
168- * Makes the entity look at the specified target position.
169- *
170- * @param targetPos Position to target
171- */
172- void lookAt (Vector3d targetPos );
173-
174166 /**
175167 * Converts the {@link Living}'s head rotation into a quaternion direction unit vector.
176168 *
You can’t perform that action at this time.
0 commit comments