Package net.neoforged.moddevgradle.dsl
Class ModdingVersionSettings
java.lang.Object
net.neoforged.moddevgradle.dsl.ModdingVersionSettings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet<org.gradle.api.tasks.SourceSet>Contains the list of source sets for which access to Minecraft classes should be configured.@Nullable String@Nullable StringvoidsetEnabledSourceSets(Set<org.gradle.api.tasks.SourceSet> enabledSourceSets) voidsetNeoFormVersion(String version) You can set this property to a version of NeoForm to either override the version used in the version of NeoForge you set, or to compile against Vanilla artifacts that have no NeoForge code added.voidsetVersion(String version) NeoForge version number.
-
Constructor Details
-
ModdingVersionSettings
@Inject public ModdingVersionSettings(org.gradle.api.Project project)
-
-
Method Details
-
getVersion
-
getNeoFormVersion
-
setVersion
NeoForge version number. You have to set either this orsetNeoFormVersion(java.lang.String). -
setNeoFormVersion
You can set this property to a version of NeoForm to either override the version used in the version of NeoForge you set, or to compile against Vanilla artifacts that have no NeoForge code added. -
getEnabledSourceSets
Contains the list of source sets for which access to Minecraft classes should be configured. Defaults to the main source set, but can also be set to an empty list. -
setEnabledSourceSets
-