DataComponentType
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.component.DataComponentType;
Members
Getter
// DataComponentType<T>.commandString as stringmyDataComponentType.commandString
Return Type:
string
Getter
// DataComponentType<T>.isTransient as boolmyDataComponentType.isTransient
Return Type:
bool