Enum Class ModLoader

java.lang.Object
java.lang.Enum<ModLoader>
nl.elec332.gradle.minecraft.moddev.ModLoader
All Implemented Interfaces:
Serializable, Comparable<ModLoader>, Constable

public enum ModLoader extends Enum<ModLoader>
Created by Elec332 on 02-09-2023
  • Enum Constant Details

    • FORGE

      public static final ModLoader FORGE
    • NEO_FORGE

      public static final ModLoader NEO_FORGE
    • FABRIC

      public static final ModLoader FABRIC
    • QUILT

      public static final ModLoader QUILT
  • Field Details

  • Method Details

    • values

      public static ModLoader[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ModLoader valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getPluginClass

      public Class<? extends AbstractPlugin<?>> getPluginClass()
    • getProjectName

      public String getProjectName()
    • getName

      public String getName()
    • getType

      public ModLoaderType getType()
    • isType

      public boolean isType(org.gradle.api.Project project)
    • apply

      public void apply(org.gradle.api.Project project, boolean sc)
    • getIdentifier

      public static String getIdentifier(org.gradle.api.Project project)