@@ -13,11 +13,11 @@ To access the pathfinder for a Mob, you need to call `getPathfinder()` on the Mo
1313
1414::: important
1515
16- The pathfinder is only available for Mobs, not for all entities .
16+ The pathfinder is only available for entities that implement ` Mob ` .
1717
1818:::
1919
20- 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
20+ 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
2121pathfinder for the cow and then setting the path to the player's location:
2222
2323``` java
@@ -49,13 +49,13 @@ Much of the way that the Pathfinder works is dictated by the limitations of the
4949For 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,
5050it will not be able to reach it.
5151
52- There are some attributes that can be set on the pathfinder to change the way that the pathfinder works. These are:
52+ Some attributes can be set on the pathfinder to change the way that the pathfinder works. These are:
5353- ` setCanOpenDoors(boolean) ` : Whether the entity can open doors.
5454- ` setCanPassDoors(boolean) ` : Whether the entity can pass through open doors.
5555- ` setCanFloat(boolean) ` : Whether the entity can float in water.
5656These all have respective getters as well.
5757
5858## Stopping the Pathfinder
5959
60- To stop the pathfinder, you can call ` stopPathfinding() ` on the pathfinder. This will stop the pathfinder and clear the
61- current path. You can use ` hasPath() ` to check if the pathfinder is currently running.
60+ You can call ` stopPathfinding() ` on the pathfinder to stop the pathfinder. This will stop the pathfinder and clear the
61+ current path. You can use ` hasPath() ` to check if the pathfinder is running.
0 commit comments