Class MittenLibCoreModule<T extends Plugin>

java.lang.Object
com.google.inject.AbstractModule
me.bristermitten.mittenlib.MittenLibCoreModule<T>
Type Parameters:
T - the type of the plugin
All Implemented Interfaces:
Module

public class MittenLibCoreModule<T extends Plugin> extends AbstractModule
Main Guice Module for MittenLib.

You probably shouldn't use this! You most likely want to create an Injector with MittenLib.setup(), which automatically installs this module.

This module binds the following:

  • Constructor Details

    • MittenLibCoreModule

      public MittenLibCoreModule(@Nullable T plugin)
      Create a new MittenLibModule
      Parameters:
      plugin - the plugin instance
  • Method Details