Skip to content

Add initial docs for Entity Pathfinders and Mob Goal API #289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

olijeffers0n
Copy link
Member

I have not extensively used either of these API's in the past, however these seem to work

@MiniDigger
Copy link
Member

this needs notes on how vanilla selects which goals to activate and prolly some more caveats on how pathfinding works from somebody who actually uses the pathfinder, iirc it can ge all kinda wonky to call moveTo every tick.

Copy link

github-actions bot commented Nov 25, 2024

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
papermc-docs ✅ Ready (View Log) Visit Preview e759306

Comment on lines +22 to +27
:::tip

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

:::
Copy link
Contributor

@Phoenix616 Phoenix616 Jul 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels confusing as it kinda reads as if one could create Vanilla goals entities (especially under the register section) which isn't possible right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants