Interface MinecraftExtension.Attributes
- Enclosing interface:
MinecraftExtension
public static sealed interface MinecraftExtension.Attributes
This interface contains the attributes used by the Minecraft extension for resolving the
Minecraft and deobfuscated dependencies.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.gradle.api.attributes.Attribute<String> The requested mappings channel of the project.static final org.gradle.api.attributes.Attribute<String> The requested mappings version of the project.static final org.gradle.api.attributes.Attribute<org.gradle.nativeplatform.OperatingSystemFamily> The operating system family of the project's host.
-
Field Details
-
os
static final org.gradle.api.attributes.Attribute<org.gradle.nativeplatform.OperatingSystemFamily> osThe operating system family of the project's host.
This is used to filter natives from the Minecraft repo.
-
mappingsChannel
The requested mappings channel of the project.
This is determined using
MinecraftMappings.channel()viaMinecraftMappingsContainer.getMappings()- See Also:
-
mappingsVersion
The requested mappings version of the project.
This is determined using
MinecraftMappings.version()viaMinecraftMappingsContainer.getMappings()- See Also:
-