public enum CropState extends Enum<CropState>
| Enum Constant and Description | 
|---|
| GERMINATEDFirst growth stage | 
| MEDIUMFourth growth stage | 
| RIPERipe stage | 
| SEEDEDState when first seeded | 
| SMALLThird growth stage | 
| TALLFifth growth stage | 
| VERY_SMALLSecond growth stage | 
| VERY_TALLAlmost ripe stage | 
| Modifier and Type | Method and Description | 
|---|---|
| static CropState | getByData(byte data)Deprecated. 
 Magic value | 
| byte | getData()Deprecated. 
 Magic value | 
| static CropState | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static CropState[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final CropState SEEDED
public static final CropState GERMINATED
public static final CropState VERY_SMALL
public static final CropState SMALL
public static final CropState MEDIUM
public static final CropState TALL
public static final CropState VERY_TALL
public static final CropState RIPE
public static CropState[] values()
for (CropState c : CropState.values()) System.out.println(c);
public static CropState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Deprecated public byte getData()
@Deprecated public static CropState getByData(byte data)
data - Data value to fetchCropState representing the given value, or null if
     it doesn't existCopyright © 2015. All rights reserved.