cpw.mods.fml.common

## Class DummyModContainer

- java.lang.Object
- - cpw.mods.fml.common.DummyModContainer

- All Implemented Interfaces:
    ModContainer
  Direct Known Subclasses:
    FMLDummyContainer, ForgeDummyContainer, MCPDummyContainer, MinecraftDummyContainer

      public class DummyModContainer
      extends Object
      implements ModContainer

- - ### Field Summary

    - ### Fields inherited from interface cpw.mods.fml.common.ModContainer

      `EMPTY_PROPERTIES`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DummyModContainer()`
    `DummyModContainer(ModMetadata md)`
    `DummyModContainer(String label)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `VersionRange` | `acceptableMinecraftVersionRange()`
    `void` | `bindMetadata(MetadataCollection mc)` Attach this mod to it's metadata from the supplied metadata collection
    `Map<String,String>` | `getCustomModProperties()`
    `Class<?>` | `getCustomResourcePackClass()`
    `List<ArtifactVersion>` | `getDependants()` A list of modids that should be loaded after this one.
    `List<ArtifactVersion>` | `getDependencies()` A list of modids that should be loaded prior to this one.
    `String` | `getDisplayVersion()`
    `ModMetadata` | `getMetadata()` The metadata for this mod
    `Object` | `getMod()` Get the actual mod object
    `String` | `getModId()` The globally unique modid for this mod
    `String` | `getName()` A human readable name
    `ArtifactVersion` | `getProcessedVersion()`
    `Set<ArtifactVersion>` | `getRequirements()` A list of the modids that this mod requires loaded prior to loading
    `Certificate` | `getSigningCertificate()`
    `String` | `getSortingRules()` A representative string encapsulating the sorting preferences for this mod
    `File` | `getSource()` The location on the file system which this mod came from
    `String` | `getVersion()` A human readable version identifier
    `boolean` | `isImmutable()`
    `boolean` | `isNetworkMod()`
    `boolean` | `matches(Object mod)` Does this mod match the supplied mod
    `boolean` | `registerBus(com.google.common.eventbus.EventBus bus, LoadController controller)` Register the event bus for the mod and the controller for error handling Returns if this bus was successfully registered - disabled mods and other mods that don't need real events should return false and avoid further processing
    `void` | `setEnabledState(boolean enabled)` Set the enabled/disabled state of this mod
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### DummyModContainer

          public DummyModContainer(ModMetadata md)

    - #### DummyModContainer

          public DummyModContainer(String label)

    - #### DummyModContainer

          public DummyModContainer()

  - ### Method Detail

    - #### bindMetadata

          public void bindMetadata(MetadataCollection mc)

      Description copied from interface: `ModContainer`
      Attach this mod to it's metadata from the supplied metadata collection
      Specified by:
        `bindMetadata` in interface `ModContainer`

    - #### getDependants

          public List<ArtifactVersion> getDependants()

      Description copied from interface: `ModContainer`
      A list of modids that should be loaded after this one. The special value * indicates to load before any other mod.
      Specified by:
        `getDependants` in interface `ModContainer`

    - #### getDependencies

          public List<ArtifactVersion> getDependencies()

      Description copied from interface: `ModContainer`
      A list of modids that should be loaded prior to this one. The special value * indicates to load after any other mod.
      Specified by:
        `getDependencies` in interface `ModContainer`

    - #### getRequirements

          public Set<ArtifactVersion> getRequirements()

      Description copied from interface: `ModContainer`
      A list of the modids that this mod requires loaded prior to loading
      Specified by:
        `getRequirements` in interface `ModContainer`

    - #### getMetadata

          public ModMetadata getMetadata()

      Description copied from interface: `ModContainer`
      The metadata for this mod
      Specified by:
        `getMetadata` in interface `ModContainer`

    - #### getMod

          public Object getMod()

      Description copied from interface: `ModContainer`
      Get the actual mod object
      Specified by:
        `getMod` in interface `ModContainer`

    - #### getModId

          public String getModId()

      Description copied from interface: `ModContainer`
      The globally unique modid for this mod
      Specified by:
        `getModId` in interface `ModContainer`

    - #### getName

          public String getName()

      Description copied from interface: `ModContainer`
      A human readable name
      Specified by:
        `getName` in interface `ModContainer`

    - #### getSortingRules

          public String getSortingRules()

      Description copied from interface: `ModContainer`
      A representative string encapsulating the sorting preferences for this mod
      Specified by:
        `getSortingRules` in interface `ModContainer`

    - #### getSource

          public File getSource()

      Description copied from interface: `ModContainer`
      The location on the file system which this mod came from
      Specified by:
        `getSource` in interface `ModContainer`

    - #### getVersion

          public String getVersion()

      Description copied from interface: `ModContainer`
      A human readable version identifier
      Specified by:
        `getVersion` in interface `ModContainer`

    - #### matches

          public boolean matches(Object mod)

      Description copied from interface: `ModContainer`
      Does this mod match the supplied mod
      Specified by:
        `matches` in interface `ModContainer`

    - #### setEnabledState

          public void setEnabledState(boolean enabled)

      Description copied from interface: `ModContainer`
      Set the enabled/disabled state of this mod
      Specified by:
        `setEnabledState` in interface `ModContainer`

    - #### registerBus

          public boolean registerBus(com.google.common.eventbus.EventBus bus,
                            LoadController controller)

      Description copied from interface: `ModContainer`
      Register the event bus for the mod and the controller for error handling Returns if this bus was successfully registered - disabled mods and other mods that don't need real events should return false and avoid further processing
      Specified by:
        `registerBus` in interface `ModContainer`

    - #### getProcessedVersion

          public ArtifactVersion getProcessedVersion()

      Specified by:
        `getProcessedVersion` in interface `ModContainer`

    - #### isImmutable

          public boolean isImmutable()

      Specified by:
        `isImmutable` in interface `ModContainer`

    - #### isNetworkMod

          public boolean isNetworkMod()

      Specified by:
        `isNetworkMod` in interface `ModContainer`

    - #### getDisplayVersion

          public String getDisplayVersion()

      Specified by:
        `getDisplayVersion` in interface `ModContainer`

    - #### acceptableMinecraftVersionRange

          public VersionRange acceptableMinecraftVersionRange()

      Specified by:
        `acceptableMinecraftVersionRange` in interface `ModContainer`

    - #### getSigningCertificate

          public Certificate getSigningCertificate()

      Specified by:
        `getSigningCertificate` in interface `ModContainer`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### getCustomModProperties

          public Map<String,String> getCustomModProperties()

      Specified by:
        `getCustomModProperties` in interface `ModContainer`

    - #### getCustomResourcePackClass

          public Class<?> getCustomResourcePackClass()

      Specified by:
        `getCustomResourcePackClass` in interface `ModContainer`