Package mindustry.world.meta
Enum Class BlockFlag
- All Implemented Interfaces:
Serializable
,Comparable<BlockFlag>
,Constable
Stores special flags of blocks for easy querying.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionBlock that stored power for resupply.Enemy core; primary target for all units.Is a drill.Blocks that extinguishes fires.A block that transforms resources.Something that generates power.Any reactor block.Repair point.Vault/container/etcAny turret. -
Field Summary
-
Method Summary
-
Enum Constant Details
-
core
Enemy core; primary target for all units. -
storage
Vault/container/etc -
generator
Something that generates power. -
turret
Any turret. -
factory
A block that transforms resources. -
repair
Repair point. -
battery
Block that stored power for resupply. -
reactor
Any reactor block. -
extinguisher
Blocks that extinguishes fires. -
drill
Is a drill. -
launchPad
-
unitCargoUnloadPoint
-
unitAssembler
-
hasFogRadius
-
-
Field Details
-
all
-
allLogic
Values for logic only. Filters out some internal flags.
-
-
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
-