Skip to content

Commit a1adedd

Browse files
olijeffers0nStrokkur424
authored andcommitted
Address Comments
1 parent 2a09bc9 commit a1adedd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Pathfinder pathfinder = cow.getPathfinder();
2929
boolean success = pathfinder.moveTo(player.getLocation());
3030
```
3131

32-
If we want to access the current Path for the cow, we can call `getCurrentPath()` on the pathfinder:
32+
If we want to access the current path for the cow, we can call `getCurrentPath()` on the pathfinder:
3333

3434
```java
3535
PathResult path = pathfinder.getCurrentPath();
@@ -50,7 +50,7 @@ For example, a Polar Bear cannot fly. This means that if you set a path for a Po
5050
it will not be able to reach it.
5151

5252
Some attributes can be set on the pathfinder to change the way that the pathfinder works. These are:
53-
- `setCanOpenDoors(boolean)`: Whether the entity can open doors. This is relevant for Zombies breaking down doors, and
53+
- `setCanOpenDoors(boolean)`: Whether the entity can open doors. This is relevant for Zombies breaking down doors, and
5454
Villagers opening doors.
5555
- `setCanPassDoors(boolean)`: Whether the entity can pass through open doors.
5656
- `setCanFloat(boolean)`: Whether the entity can float in water.

src/content/docs/paper/dev/api/entity-api/mob-goals.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Mob Goal API
33
slug: paper/dev/mob-goals
4-
description: A guide to the Mob Goal API.
4+
description: A guide to the mob goal API.
55
---
66

77
The Mob Goal API is a way of controlling the behaviour of mobs in Minecraft. It allows you to set a goal for a mob to perform, such as
@@ -87,11 +87,11 @@ public class CamelFollowPlayerGoal implements Goal<Camel> {
8787
@Override
8888
public void stop() {
8989
// This is called when the goal stops. In this case, we just send a message to the player.
90-
player.sendMessage(text("I Stopped following you!"));
90+
player.sendMessage(text("I stopped following you!"));
9191
}
9292

9393
@Override
94-
public @NotNull GoalKey<Camel> getKey() {
94+
public GoalKey<Camel> getKey() {
9595
// This is the key for the goal. It is used to identify the goal and is used to determine if two goals are the same.
9696
// It requires the class of the entity and a NamespacedKey. The NamespacedKey is used to identify the goal.
9797
// You should use the plugin's namespace for the NamespacedKey, not Minecraft or Bukkit.

0 commit comments

Comments
 (0)