DataComponentPatch
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.
Members
static builder() as Builder
Return Type:
DataComponentPatchBuilder
forget(component as DataComponentType<T>) as DataComponentPatch
Parameters:
component: DataComponentType<T>
Type: DataComponentType<T>
Return Type:
DataComponentPatch
getComponent(type as DataComponentType<T>) as T?
Parameters:
type: DataComponentType<T>
Type: DataComponentType<T>
Return Type:
T?
Getter
Return Type:
bool
Getter
Return Type:
int
split() as SplitResult
Return Type:
DataComponentPatchSplitResult