[SPIGOT-3531] Custom PathfinderGoal API Created: 23/Aug/17  Updated: 09/Jan/25

Status: Open
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Yannick Lamprecht Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: Craftbukkit, bukkit


 Description   

https://www.spigotmc.org/resources/pathfinderapi.45879/

Create Custom Pathfindergoals with no need to update the goal every Minecraft-version.

I think this could fill the need of many developers starting developing custom Pathfindergoals.

 



 Comments   
Comment by Mikołaj Nowak [ 09/Jan/25 ]

Had a go at this:

https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/1092

https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/1530

Comment by Yannick Lamprecht [ 24/Aug/17 ]

Thanks for the feedback. I’m looking into and start separating it.

I’ll optimize javadoc description and make the proposed changes.

Comment by md_5 [ 23/Aug/17 ]

You look like you've just taken the NMS code and turned it into interfaces.
Unfortunately this has created a rather poor API.

Rather than starting from the NMS code, you need to start from scratch without any preconceptions of what the underlying AI system should look like.
You then need to implement that system into CraftBukkit.

Comment by Black Hole [ 23/Aug/17 ]

Access is denied. You should open pull requests for your branches.

Comment by Yannick Lamprecht [ 23/Aug/17 ]

The above Resource is only an example. It has some Pathfindergoals for previewing the usage. 

EDIT:

 

Forgot to add the pr's.

Bukkit: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/299/overview

CraftBukkit: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/400/overview 

 

Generated at Tue Apr 15 09:10:44 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.