Enum Class EnumFossils

java.lang.Object
java.lang.Enum<EnumFossils>
com.pixelmonmod.pixelmon.enums.items.EnumFossils
All Implemented Interfaces:
Serializable, Comparable<EnumFossils>, Constable

public enum EnumFossils extends Enum<EnumFossils>
Created by Jay113355 on 12/19/2017.
  • Enum Constant Details

  • Method Details

    • values

      public static EnumFossils[] 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 EnumFossils 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
    • fromIndex

      public static EnumFossils fromIndex(int curFos)
    • getIndex

      public int getIndex()
    • getGeneration

      public int getGeneration()
    • getPokemon

      public Species getPokemon()
    • getItemName

      public String getItemName()
    • getTexture

      public net.minecraft.resources.ResourceLocation getTexture()
    • getItem

      public net.minecraft.world.item.Item getItem()
    • getModel

      public ModelHolder getModel()