mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-19 14:59:32 +00:00
* 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:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user