Package mindustry.type
Enum Class Category
- All Implemented Interfaces:
Serializable
,Comparable<Category>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionBlocks that craft things.Walls and other defensive structures.Blocks that move items around.Things for storage or passive effects.Blocks that move liquids around.Blocks related to logic.Blocks that generate or transport power.Blocks that produce raw resources, such as drills.Offensive turrets.Blocks that create units. -
Field Summary
-
Method Summary
-
Enum Constant Details
-
turret
Offensive turrets. -
production
Blocks that produce raw resources, such as drills. -
distribution
Blocks that move items around. -
liquid
Blocks that move liquids around. -
power
Blocks that generate or transport power. -
defense
Walls and other defensive structures. -
crafting
Blocks that craft things. -
units
Blocks that create units. -
effect
Things for storage or passive effects. -
logic
Blocks related to logic.
-
-
Field Details
-
all
-
-
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
-
prev
-
next
-