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

@olijeffers0n olijeffers0n commented Jan 24, 2024

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

closes #265

@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 d028fab

@olijeffers0n olijeffers0n self-assigned this Dec 28, 2024
@olijeffers0n olijeffers0n added the dev guide This issue or PR aims to introduce developer API documentation label Dec 28, 2024
@zlataovce zlataovce added the pre-migration Pull requests which point to a commit before the Astro migration label Apr 20, 2025
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.

@Strokkur424 Strokkur424 force-pushed the feat/document-mob-goals branch from e759306 to 32c1b73 Compare August 5, 2025 11:34
@Strokkur424 Strokkur424 removed the pre-migration Pull requests which point to a commit before the Astro migration label Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev guide This issue or PR aims to introduce developer API documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mob goal api guide
8 participants