The two main ways I can think of for implementing this would be to either:
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.
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.
The two main ways I can think of for implementing this would be to either:
JourneyPlayer
/Player
and an destination, eitherCell
orLocation
, then creates aPlayerDestinationGoalSearchSession
for that player.JourneyPlayer
that allows you to specify a destination (probablyCell
) to navigate to.Either way it's probably a good idea to add a way to fetch a
JourneyPlayer
.