Skip to content

Commit 7274f7b

Browse files
authored
Address Comments
1 parent ea4dedc commit 7274f7b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/paper/dev/api/entity-pathfinder.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ To access the pathfinder for a Mob, you need to call `getPathfinder()` on the Mo
1414

1515
:::important
1616

17-
The pathfinder is only available for Mobs, not for all entities.
17+
The pathfinder is only available for entities that implement `Mob`.
1818

1919
:::
2020

21-
Lets say that we have a `Cow` and we want it to move to a specific `Player`'s location. We can do this by getting the
21+
Let's say that we have a `Cow` and we want it to move to a specific `Player`'s location. We can do this by getting the
2222
pathfinder for the cow and then setting the path to the player's location:
2323

2424
```java
@@ -50,13 +50,13 @@ Much of the way that the Pathfinder works is dictated by the limitations of the
5050
For example, a Polar Bear cannot fly. This means that if you set a path for a Polar Bear to a location that is in the air,
5151
it will not be able to reach it.
5252

53-
There are some attributes that can be set on the pathfinder to change the way that the pathfinder works. These are:
53+
Some attributes can be set on the pathfinder to change the way that the pathfinder works. These are:
5454
- `setCanOpenDoors(boolean)`: Whether the entity can open doors.
5555
- `setCanPassDoors(boolean)`: Whether the entity can pass through open doors.
5656
- `setCanFloat(boolean)`: Whether the entity can float in water.
5757
These all have respective getters as well.
5858

5959
## Stopping the Pathfinder
6060

61-
To stop the pathfinder, you can call `stopPathfinding()` on the pathfinder. This will stop the pathfinder and clear the
62-
current path. You can use `hasPath()` to check if the pathfinder is currently running.
61+
You can call `stopPathfinding()` on the pathfinder to stop the pathfinder. This will stop the pathfinder and clear the
62+
current path. You can use `hasPath()` to check if the pathfinder is running.

0 commit comments

Comments
 (0)