Interface CommandRegistry
public interface CommandRegistry
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull CommandRegistryminestom()static @NotNull CommandRegistryof(@NotNull Consumer<net.minestom.server.command.builder.Command> register, @NotNull Consumer<net.minestom.server.command.builder.Command> unregister) voidregister(@NotNull net.minestom.server.command.builder.Command command) voidunregister(@NotNull net.minestom.server.command.builder.Command command)
-
Method Details
-
of
@NotNull static @NotNull CommandRegistry of(@NotNull @NotNull Consumer<net.minestom.server.command.builder.Command> register, @NotNull @NotNull Consumer<net.minestom.server.command.builder.Command> unregister) -
minestom
-
register
void register(@NotNull @NotNull net.minestom.server.command.builder.Command command) -
unregister
void unregister(@NotNull @NotNull net.minestom.server.command.builder.Command command)
-