Enum Class CompatMods

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

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

    • CREATE

      public static final CompatMods CREATE
    • ACADEMY

      public static final CompatMods ACADEMY
    • CHOO_CHOO_TRADE

      public static final CompatMods CHOO_CHOO_TRADE
    • CREATE_BISTRO

      public static final CompatMods CREATE_BISTRO
    • DESTROY

      public static final CompatMods DESTROY
    • PETROLS_PARTS

      public static final CompatMods PETROLS_PARTS
    • PQUALITY

      public static final CompatMods PQUALITY
    • BIG_CANNONS

      public static final CompatMods BIG_CANNONS
    • CURIOS

      public static final CompatMods CURIOS
    • JEI

      public static final CompatMods JEI
    • TFMG

      public static final CompatMods TFMG
  • Field Details

  • Method Details

    • values

      public static CompatMods[] 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 CompatMods 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
    • 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()