Enum Class BerryType

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

public enum BerryType extends Enum<BerryType>
Enum representing the different berry types, including their growth information, item ID, and models. Note: Uses GenIV mechanics
  • Enum Constant Details

  • Field Details

    • minYield

      public final byte minYield
    • maxYield

      public final byte maxYield
    • growthTime

      public final byte growthTime
    • isImplemented

      public final boolean isImplemented
    • spicy

      public final byte spicy
    • dry

      public final byte dry
    • sweet

      public final byte sweet
    • bitter

      public final byte bitter
    • sour

      public final byte sour
    • color

      public final net.minecraft.world.item.DyeColor color
    • juiceGroup

      public final byte juiceGroup
  • Method Details

    • values

      public static BerryType[] 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 BerryType 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
    • getMinYield

      public byte getMinYield()
    • getMaxYield

      public byte getMaxYield()
    • getGrowthTime

      public byte getGrowthTime()
    • isImplemented

      public boolean isImplemented()
    • getSpicy

      public byte getSpicy()
    • getDry

      public byte getDry()
    • getSweet

      public byte getSweet()
    • getBitter

      public byte getBitter()
    • getSour

      public byte getSour()
    • getColor

      public net.minecraft.world.item.DyeColor getColor()
    • getJuiceGroup

      public byte getJuiceGroup()
    • getFeature

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

      public net.minecraft.world.item.Item getBerryItem()
    • getLogBlock

      public net.minecraft.world.level.block.Block getLogBlock()
    • getLeavesBlock

      public net.minecraft.world.level.block.Block getLeavesBlock()
    • getSaplingBlock

      public net.minecraft.world.level.block.Block getSaplingBlock()
    • getWoodType

      public net.minecraft.world.level.block.state.properties.WoodType getWoodType()
    • getSignBlock

      public net.minecraft.world.level.block.Block getSignBlock()
    • getWallSignBlock

      public net.minecraft.world.level.block.Block getWallSignBlock()
    • getImplementedBerry

      @Nonnull public static BerryType getImplementedBerry()