@@ -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
2222pathfinder 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
5050For 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,
5151it 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.
5757These 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