Class PlayerAvailableCommandsEventImpl

    • Constructor Detail

      • PlayerAvailableCommandsEventImpl

        public PlayerAvailableCommandsEventImpl​(Player player,
                                                com.mojang.brigadier.tree.RootCommandNode<?> rootNode)
        Constructs an available commands event.
        Parameters:
        player - the targeted player
        rootNode - the Brigadier root node