All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.guizhanss.guizhanlib.minecraft.commands.SubCommand Maven / Gradle / Ivy

package net.guizhanss.guizhanlib.minecraft.commands;

import org.bukkit.command.CommandSender;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.annotation.ParametersAreNonnullByDefault;
import java.util.function.BiFunction;

public abstract class SubCommand extends AbstractCommand {
    protected SubCommand(@Nullable SubCommand parent, @Nonnull String name,
                         @Nonnull BiFunction description,
                         @Nonnull String usage, @Nonnull AbstractCommand... subCommands) {
        super(parent, name, description, usage, subCommands);
    }

    @ParametersAreNonnullByDefault
    protected SubCommand(String name, BiFunction description,
                         String usage, AbstractCommand... subCommands) {
        super(name, description, usage, subCommands);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy