Enum Class ApricornType

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

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

  • Method Details

    • values

      public static ApricornType[] 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 ApricornType 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
    • getIconIndex

      public int getIconIndex()
    • getMeltedIconIndex

      public int getMeltedIconIndex()
    • apricorn

      public ApricornItem apricorn()
    • cookedApricorn

      public CookedApricornItem cookedApricorn()
    • logBlock

      public net.minecraft.world.level.block.Block logBlock()
    • leavesBlock

      public net.minecraft.world.level.block.Block leavesBlock()
    • saplingBlock

      public net.minecraft.world.level.block.Block saplingBlock()
    • getFeature

      public net.minecraft.resources.ResourceKey<net.minecraft.world.level.levelgen.feature.ConfiguredFeature<?,?>> getFeature()
    • getGrowthTime

      public int getGrowthTime()
    • hasApricorn

      public static boolean hasApricorn(String apricorn)