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

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

There is a newer version: 1.8.1
Show newest version
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 AbstractCommand parent, @Nonnull String name,
                         @Nonnull BiFunction description,
                         @Nonnull String usage, @Nonnull SubCommand... subCommands) {
        super(parent, name, description, usage, subCommands);
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy