9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-19 14:59:32 +00:00

feat: mount action(#619) (#649)

* feat: mount action(#619)

* fix: fix comment

* feat: optimize performance

* fix: update manhattanDistance method to use precise coordinates

* refactor: remove canAddPassengerPublic

* refactor: remove single method

* fix: rebuild patches

* fix: rebuild patches

* fix: rebuild patches

* fix: rebuild patches

* fix: remove ???
This commit is contained in:
MC_XiaoHei
2025-08-04 21:12:15 +08:00
committed by GitHub
parent ea91106ae5
commit 230e0987a9
4 changed files with 149 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
package org.leavesmc.leaves.entity.bot.action;
import org.bukkit.Bukkit;
/**
* Represents an action for a bot to mount to nearby vehicles.
*/
public interface MountAction extends BotAction<MountAction> {
static MountAction create() {
return Bukkit.getBotManager().newAction(MountAction.class);
}
}