Class FabricModJsonV1Spec.Mixin

java.lang.Object
net.fabricmc.loom.api.fmj.FabricModJsonV1Spec.Mixin
Enclosing class:
FabricModJsonV1Spec

public abstract static class FabricModJsonV1Spec.Mixin extends Object
  • Constructor Details

    • Mixin

      public Mixin()
  • Method Details

    • getValue

      @Input public abstract org.gradle.api.provider.Property<String> getValue()
      The value of the Mixin configuration, typically a path to a JSON file.
      Returns:
      A Property containing a String representing the Mixin configuration value
    • getEnvironment

      @Input @Optional public abstract org.gradle.api.provider.Property<String> getEnvironment()
      The environment the Mixin configuration applies to.

      One of `client`, `server`, or `*`.

      Returns:
      A Property containing a String representing the Mixin configuration environment