FluidPredicateBuilder

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.

script.zs
import crafttweaker.api.predicate.builder.FluidPredicateBuilder;

Members

blocks(fluid as Fluid) as Builder
script.zs
// Builder.blocks(fluid as Fluid) as Builder;
myBuilder.blocks(myFluid);

Parameters:

fluid Type: Fluid

Return Type: FluidPredicateBuilder

build() as FluidPredicate
script.zs
// Builder.build() as FluidPredicate;
myBuilder.build();

Return Type: FluidPredicate

properties(predicate as StatePropertiesPredicate) as Builder
script.zs
// Builder.properties(predicate as StatePropertiesPredicate) as Builder;
myBuilder.properties(myStatePropertiesPredicate);

Parameters:

Return Type: FluidPredicateBuilder

properties(predicate as Builder) as Builder
script.zs
// Builder.properties(predicate as Builder) as Builder;
myBuilder.properties(myBuilder);

Return Type: FluidPredicateBuilder

tag(tag as KnownTag<Fluid>) as Builder
script.zs
// Builder.tag(tag as KnownTag<Fluid>) as Builder;
myBuilder.tag(myKnownTag);

Parameters:

tag Type: KnownTag<Fluid>

Return Type: FluidPredicateBuilder