Interface VersionCapabilities

All Known Implementing Classes:
VersionCapabilitiesInternal

public interface VersionCapabilities
Describes the capabilities of the currently chosen version of Minecraft.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The Java version used by this version of Minecraft.
    boolean
    Whether the NeoForge version requires the use of the additionalRuntimeClasspath configuration to add libraries that don't declare a FMLModType in their manifest to the runtime classpath.
    boolean
    Whether this version of Minecraft uses separate data-generation runs for client and server data.
    boolean
    Whether the NeoForge version for this version of Minecraft supports mod-loading in unit tests.
  • Method Details

    • javaVersion

      int javaVersion()
      The Java version used by this version of Minecraft.
    • splitDataRuns

      boolean splitDataRuns()
      Whether this version of Minecraft uses separate data-generation runs for client and server data.
    • testFixtures

      boolean testFixtures()
      Whether the NeoForge version for this version of Minecraft supports mod-loading in unit tests.
    • legacyClasspath

      boolean legacyClasspath()
      Whether the NeoForge version requires the use of the additionalRuntimeClasspath configuration to add libraries that don't declare a FMLModType in their manifest to the runtime classpath.