| Enum Constant and Description |
|---|
ARMOR
Armor
|
AXE
Axe
|
BAKED_POTATO
Baked Potato
|
BEACON_BLUEPRINT
Beacon blueprint.
|
BED_BLUEPRINT
Bed blueprint.
|
BOAT
Boat
|
BOOTS
Boots
|
BOW
Bow
|
BRIDGE_BLUEPRINT
Bridge blueprint.
|
BUNDLE
Bundle
|
CHEST_BLUEPRINT
Chest blueprint.
|
COMPOSTER_BLUEPRINT
Composter blueprint.
|
ENDER_PEARL
Ender Pearl
|
FIREWORK
Firework
|
FISHING_ROD
Fishing Rod
|
GRINDSTONE
Grindstone
|
PICKAXE
Pickaxe
|
RESPAWN_ANCHOR
Respawn Anchor
|
ROAD_BLUEPRINT
Road blueprint.
|
SHIELD
Shield
|
SHOVEL
Shovel
|
SNOWBALL
Snowball
|
SPYGLASS
Spyglass
|
SWORD
Sword
|
TNT
TNT
|
TURRET_BLUEPRINT
Turret blueprint.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeUsed()
Returns if this craftable can be used.
|
int |
getWeight(Upgrade upgrade)
Returns the weight this craftable given the upgrade.
|
boolean |
hasPassive()
Returns if this craftable has a passive.
|
boolean |
isBlueprint()
Returns if this craftable is a blueprint.
|
boolean |
isSingleUse()
Returns if this craftable is of single use (not counting blueprints).
|
boolean |
isTool()
Returns if this craftable is a tool.
|
static Craftable |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Craftable[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Craftable BED_BLUEPRINT
public static final Craftable CHEST_BLUEPRINT
public static final Craftable ROAD_BLUEPRINT
public static final Craftable BRIDGE_BLUEPRINT
public static final Craftable TURRET_BLUEPRINT
public static final Craftable COMPOSTER_BLUEPRINT
public static final Craftable BEACON_BLUEPRINT
public static final Craftable AXE
public static final Craftable PICKAXE
public static final Craftable SHOVEL
public static final Craftable BOOTS
public static final Craftable BOW
public static final Craftable BUNDLE
public static final Craftable SWORD
public static final Craftable FISHING_ROD
public static final Craftable TNT
public static final Craftable BAKED_POTATO
public static final Craftable GRINDSTONE
public static final Craftable ENDER_PEARL
public static final Craftable FIREWORK
public static final Craftable SNOWBALL
public static final Craftable ARMOR
public static final Craftable SHIELD
public static final Craftable BOAT
public static final Craftable RESPAWN_ANCHOR
public static final Craftable SPYGLASS
public static Craftable[] values()
for (Craftable c : Craftable.values()) System.out.println(c);
public static Craftable valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getWeight(Upgrade upgrade)
upgrade - given upgrade.public boolean isBlueprint()
public boolean isSingleUse()
public boolean isTool()
public boolean hasPassive()
public boolean canBeUsed()