public enum FurnaceProperty extends Enum<FurnaceProperty>
| Enum Constant and Description |
|---|
BURN_TIME
Number of ticks left before the current fuel runs out.
|
COOK_TIME
Number of ticks the item has been smelting for.
|
CURRENT_ITEM_BURN_TIME
Number of ticks that the current item can keep the furnace burning.
|
TOTAL_COOK_TIME
Number of ticks that the current item needs to be smelted.
|
| Modifier and Type | Method and Description |
|---|---|
static FurnaceProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FurnaceProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FurnaceProperty BURN_TIME
public static final FurnaceProperty CURRENT_ITEM_BURN_TIME
public static final FurnaceProperty COOK_TIME
public static final FurnaceProperty TOTAL_COOK_TIME
public static FurnaceProperty[] values()
for (FurnaceProperty c : FurnaceProperty.values()) System.out.println(c);
public static FurnaceProperty 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 nullCopyright © 2020. All rights reserved.