Class FabricCommandManager

java.lang.Object
net.playeranalytics.plan.commands.FabricCommandManager

public class FabricCommandManager extends Object
  • Constructor Details

    • FabricCommandManager

      public FabricCommandManager(com.mojang.brigadier.CommandDispatcher<net.minecraft.server.command.ServerCommandSource> dispatcher, PlanFabric plugin, ErrorLogger errorLogger)
  • Method Details

    • checkPermission

      public static boolean checkPermission(net.minecraft.server.command.ServerCommandSource src, String permission)
    • isPermissionsApiAvailable

      public static boolean isPermissionsApiAvailable()
    • arguments

      public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> arguments(Subcommand subcommand, com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> ctx, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
    • registerRoot

      public void registerRoot(Subcommand subcommand, net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory)
    • registerChild

      public void registerChild(Subcommand subcommand, com.mojang.brigadier.builder.ArgumentBuilder<net.minecraft.server.command.ServerCommandSource,?> parent)