Interface CommandEvents.Register

Enclosing class:
CommandEvents
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface CommandEvents.Register
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    registerCommands(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher, net.minecraft.commands.CommandBuildContext buildContext, net.minecraft.commands.Commands.CommandSelection environment)
     
  • Method Details

    • registerCommands

      void registerCommands(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher, net.minecraft.commands.CommandBuildContext buildContext, net.minecraft.commands.Commands.CommandSelection environment)