Enum Class ComponentType
- All Implemented Interfaces:
Serializable, Comparable<ComponentType>, Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentTypestatic ComponentTypeFromId(short id) static BitSetgetBitsFor(ComponentType... componentTypes) shortGetID()static ArrayList<ComponentType> GetList()booleanbooleanbooleanbooleanstatic voidReleaseComponent(Component component) static ComponentTypeReturns the enum constant of this class with the specified name.static ComponentType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Attributes
-
FluidContainer
-
SpriteConfig
-
Lua
-
Parts
-
Signals
-
Script
-
UiConfig
-
CraftLogic
-
FurnaceLogic
-
TestComponent
-
MashingLogic
-
DryingLogic
-
MetaTag
-
Resources
-
CraftBench
-
CraftRecipe
-
Durability
-
DryingCraftLogic
-
ContextMenuConfig
-
SpriteOverlayConfig
-
CraftBenchSounds
-
WallCoveringConfig
-
Undefined
-
-
Field Details
-
MAX_ID_INDEX
public static final int MAX_ID_INDEX
-
-
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
-
GetID
public short GetID() -
isAddToEngine
public boolean isAddToEngine() -
isRunInMeta
public boolean isRunInMeta() -
isRenderLast
public boolean isRenderLast() -
isValidGameEntityType
-
GetComponentClass
-
CreateComponent
-
CreateComponentFromScript
-
CreateComponentScript
-
ReleaseComponent
-
FromId
-
FromClass
-
GetList
-
getBitsFor
-