Skip to content

Commit 2a09bc9

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

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ 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.
53+
- `setCanOpenDoors(boolean)`: Whether the entity can open doors. This is relevant for Zombies breaking down doors, and
54+
Villagers opening doors.
5455
- `setCanPassDoors(boolean)`: Whether the entity can pass through open doors.
5556
- `setCanFloat(boolean)`: Whether the entity can float in water.
5657
These all have respective getters as well.

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
@@ -21,7 +21,7 @@ server.getMobGoals().addGoal(cow, 0, goal); // 0 is the priority, lower numbers
2121
:::tip
2222

2323
You can access the Vanilla goals from the `VanillaGoal` class. These are the goals that are used by Vanilla Minecraft.
24-
They are specific to each mob type, so you can't use a cow goal on a zombie for example.
24+
They are specific to each mob type, so you can't use `VanillaGoal.BEE_ATTACK` on a Zombie, for example.
2525

2626
:::
2727

@@ -107,9 +107,9 @@ public class CamelFollowPlayerGoal implements Goal<Camel> {
107107
}
108108
```
109109

110-
## Stopping a Goal
110+
## Removing a Goal
111111

112-
To stop a goal, you need to get the goal key and then call `stop()` on the goal:
112+
To remove a goal, you need to get the goal key and then call the `removeGoal` method:
113113

114114
```java
115115
Cow cow = ...;

0 commit comments

Comments
 (0)