package top.r3944realms.lib39.platform.services;

import com.mojang.brigadier.builder.LiteralArgumentBuilder;
import net.minecraft.commands.CommandBuildContext;
import net.minecraft.commands.CommandSourceStack;
import top.r3944realms.lib39.core.command.ICommandHelpManager;

/**
 * The interface Help command hook.
 */
@FunctionalInterface
public interface IHelpCommandHook {
    /**
     * On register.
     *
     * @param tree    the tree
     * @param manager the manager
     * @param context the context
     */
    void onRegister(LiteralArgumentBuilder<CommandSourceStack> tree, ICommandHelpManager manager, CommandBuildContext context);
}
