mirror of
https://github.com/Shiewk/SModeration.git
synced 2026-04-28 05:54:16 +02:00
Upgrade Paper to 1.21, use Brigadier command system
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package de.shiewk.smoderation.paper.command;
|
||||
|
||||
import com.mojang.brigadier.tree.LiteralCommandNode;
|
||||
import io.papermc.paper.command.brigadier.CommandSourceStack;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
public interface CommandProvider {
|
||||
|
||||
LiteralCommandNode<CommandSourceStack> getCommandNode();
|
||||
|
||||
String getCommandDescription();
|
||||
|
||||
default Collection<String> getAliases(){
|
||||
return List.of();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user