DataComponentPredicateBuilder
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.predicate.builder.DataComponentPredicateBuilder;
Members
build() as DataComponentPredicate
static empty() as DataComponentPredicate
expect(type as DataComponentType<?>, value as T) as Builder
myBuilder.expect<T>(myDataComponentType, myT);
Parameters:
type: DataComponentType<?>
Type: DataComponentType<?>
value: T
Type: T
Return Type:
DataComponentPredicateBuilder