Package com.pixelmonmod.pixelmon.enums
Enum Class BerryType
- All Implemented Interfaces:
Serializable
,Comparable<BerryType>
,Constable
Enum representing the different berry types, including their growth
information, item ID, and models. Note: Uses GenIV mechanics
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Field Summary
Modifier and TypeFieldDescriptionfinal byte
final net.minecraft.world.item.DyeColor
final byte
final byte
final boolean
final byte
final byte
final byte
final byte
final byte
final byte
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.Item
byte
net.minecraft.world.item.DyeColor
getColor()
byte
getDry()
net.minecraft.resources.ResourceKey<net.minecraft.world.level.levelgen.feature.ConfiguredFeature<?,
?>> byte
static BerryType
byte
net.minecraft.world.level.block.Block
net.minecraft.world.level.block.Block
byte
byte
net.minecraft.world.level.block.Block
net.minecraft.world.level.block.Block
byte
getSour()
byte
getSpicy()
byte
getSweet()
net.minecraft.world.level.block.Block
net.minecraft.world.level.block.state.properties.WoodType
boolean
static BerryType
Returns the enum constant of this class with the specified name.static BerryType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CHERI
-
CHESTO
-
PECHA
-
RAWST
-
ASPEAR
-
LEPPA
-
ORAN
-
PERSIM
-
LUM
-
SITRUS
-
FIGY
-
WIKI
-
MAGO
-
AGUAV
-
IAPAPA
-
RAZZ
-
BLUK
-
NANAB
-
WEPEAR
-
PINAP
-
POMEG
-
KELPSY
-
QUALOT
-
HONDEW
-
GREPA
-
TAMATO
-
CORNN
-
MAGOST
-
RABUTA
-
NOMEL
-
SPELON
-
PAMTRE
-
WATMEL
-
DURIN
-
BELUE
-
OCCA
-
PASSHO
-
WACAN
-
RINDO
-
YACHE
-
CHOPLE
-
KEBIA
-
SHUCA
-
COBA
-
PAYAPA
-
TANGA
-
CHARTI
-
KASIB
-
HABAN
-
COLBUR
-
BABIRI
-
CHILAN
-
ROSELI
-
LIECHI
-
GANLON
-
SALAC
-
PETAYA
-
APICOT
-
LANSAT
-
STARF
-
PUMKIN
-
DRASH
-
EGGANT
-
STRIB
-
NUTPEA
-
GINEMA
-
KUO
-
YAGO
-
TOUGA
-
NINIKU
-
TOPO
-
ENIGMA
-
MICLE
-
CUSTAP
-
JABOCA
-
ROWAP
-
KEE
-
MARANGA
-
-
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
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
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 nameNullPointerException
- 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
-