Package net.neoforged.moddevgradle.dsl
Interface VersionCapabilities
- All Known Implementing Classes:
VersionCapabilitiesInternal
public interface VersionCapabilities
Describes the capabilities of the currently chosen version of Minecraft.
-
Method Summary
Modifier and TypeMethodDescriptionintThe Java version used by this version of Minecraft.booleanWhether this version of Minecraft uses separate data-generation runs for client and server data.booleanWhether 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.
-