Interface IPlatformCommandRegistrationEvents.CommandRegistration

Enclosing interface:
IPlatformCommandRegistrationEvents
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 IPlatformCommandRegistrationEvents.CommandRegistration
  • Method Summary

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

    • onRegistration

      void onRegistration(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher, net.minecraft.commands.CommandBuildContext commandRegistryAccess, net.minecraft.commands.Commands.CommandSelection registrationEnvironmen)