Enum Class ComponentType
- All Implemented Interfaces:
Serializable
,Comparable<ComponentType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionCreateComponentFromScript
(ComponentScript componentScript) static ComponentType
static ComponentType
FromId
(short short0) static BitSet
getBitsFor
(ComponentType... componentTypes) short
GetID()
static ArrayList
<ComponentType> GetList()
boolean
boolean
boolean
boolean
isValidGameEntityType
(GameEntityType gameEntityType) static void
ReleaseComponent
(Component component) static ComponentType
Returns 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 java.lang.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
-
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
-