Enum Class Mods

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

public enum Mods extends Enum<Mods> implements net.minecraft.util.StringRepresentable
  • Enum Constant Details

    • CREATE

      public static final Mods CREATE
    • PETROLPARK

      public static final Mods PETROLPARK
    • 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
    • ARS_NOUVEAU

      public static final Mods ARS_NOUVEAU
    • BIG_CANNONS

      public static final Mods BIG_CANNONS
    • BREWIN_AND_CHEWIN

      public static final Mods BREWIN_AND_CHEWIN
    • CHIPPED

      public static final Mods CHIPPED
    • CURIOS

      public static final Mods CURIOS
    • JEI

      public static final Mods JEI
    • OBESE_CROPS

      public static final Mods OBESE_CROPS
    • QUARK

      public static final Mods QUARK
    • SUPPLEMENTARIES

      public static final Mods SUPPLEMENTARIES
    • TFMG

      public static final Mods TFMG
    • YOUKAIS_HOMECOMING

      public static final Mods YOUKAIS_HOMECOMING
  • 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)
    • block

      public Supplier<net.minecraft.world.level.block.Block> block(String path)
    • registrate

      public com.petrolpark.compat.Mods.OtherModRegistrate registrate()
    • getSerializedName

      public String getSerializedName()
      Specified by:
      getSerializedName in interface net.minecraft.util.StringRepresentable