Interface CommandEvent.InitCommands
- Enclosing interface:
CommandEvent
public static interface CommandEvent.InitCommands
Event handler type for CommandEvent.INIT_COMMANDS.-
Method Summary
Modifier and TypeMethodDescriptionvoidinvoke(@NotNull com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher, @NotNull net.minecraft.commands.CommandBuildContext buildContext, net.minecraft.commands.Commands.CommandSelection commandSelection)
-
Method Details
-
invoke
void invoke(@NotNull @NotNull com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher, @NotNull @NotNull net.minecraft.commands.CommandBuildContext buildContext, @NotNull net.minecraft.commands.Commands.CommandSelection commandSelection)
-