Enum Class Mods

java.lang.Object
java.lang.Enum<Mods>
com.petrolpark.compat.Mods
All Implemented Interfaces:
Serializable, Comparable<Mods>, Constable

public enum Mods extends Enum<Mods>
  • Enum Constant Details

    • CREATE

      public static final Mods CREATE
    • PETROLPARK

      public static final Mods PETROLPARK
    • ACADEMY

      public static final Mods ACADEMY
    • CREATE_BISTRO

      public static final Mods CREATE_BISTRO
    • DESTROY

      public static final Mods DESTROY
    • PETROLS_PARTS

      public static final Mods PETROLS_PARTS
    • PQUALITY

      public static final Mods PQUALITY
    • BIG_CANNONS

      public static final Mods BIG_CANNONS
    • CURIOS

      public static final Mods CURIOS
    • JEI

      public static final Mods JEI
    • TFMG

      public static final Mods TFMG
  • Field Details

  • Method Details

    • values

      public static Mods[] 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 Mods 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
    • getId

      public String getId()
    • getName

      public String getName()
    • isLoading

      public static boolean isLoading(String modid)
    • isLoading

      public boolean isLoading()
    • isLoaded

      public boolean isLoaded()
    • executeIfInstalled

      public void executeIfInstalled(Supplier<Runnable> toExecute)
    • asResource

      public net.minecraft.resources.ResourceLocation asResource(String path)
    • registrate

      public PetrolparkRegistrate registrate()