Skip to content

Commit 1c27f8f

Browse files
committed
Address Comments
1 parent 7274f7b commit 1c27f8f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ For example, a Polar Bear cannot fly. This means that if you set a path for a Po
5151
it will not be able to reach it.
5252

5353
Some attributes can be set on the pathfinder to change the way that the pathfinder works. These are:
54-
- `setCanOpenDoors(boolean)`: Whether the entity can open doors.
54+
- `setCanOpenDoors(boolean)`: Whether the entity can open doors. This is relevant for Zombies breaking down doors, and
55+
Villagers opening doors.
5556
- `setCanPassDoors(boolean)`: Whether the entity can pass through open doors.
5657
- `setCanFloat(boolean)`: Whether the entity can float in water.
5758
These all have respective getters as well.

docs/paper/dev/api/mob-goals.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ server.getMobGoals().addGoal(cow, 0, goal); // 0 is the priority, lower numbers
2222
:::tip
2323

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

2727
:::
2828

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

111-
## Stopping a Goal
111+
## Removing a Goal
112112

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

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

0 commit comments

Comments
 (0)