whimxiqal / journey

A server-side path-finding Minecraft plugin
MIT License
14 stars 3 forks source link

[API] Add the ability to create a Itinerary for a player. #40

Closed TheDeafCreeper closed 1 year ago

TheDeafCreeper commented 1 year ago

The two main ways I can think of for implementing this would be to either:

  1. Add a function to the Journey(Bukkit?)API that takes a JourneyPlayer/Player and an destination, either Cell or Location, then creates a PlayerDestinationGoalSearchSession for that player.
  2. Add a function onto JourneyPlayer that allows you to specify a destination (probably Cell) to navigate to.

Either way it's probably a good idea to add a way to fetch a JourneyPlayer.

whimxiqal commented 1 year ago

added with #59