EntityVariantPredicate
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.EntityVariantPredicate;
Members
static catVariant<V>(variant as ResourceLocation) as EntitySubPredicate
EntityVariantPredicate<V>.catVariant(myResourceLocation);
Parameters:
variant: ResourceLocation
Type: ResourceLocation
Return Type:
EntitySubPredicate
static catVariant<V>(variant as string) as EntitySubPredicate
EntityVariantPredicate<V>.catVariant(myString);
Parameters:
variant: string
Type: string
Return Type:
EntitySubPredicate
static frogVariant<V>(variant as ResourceLocation) as EntitySubPredicate
EntityVariantPredicate<V>.frogVariant(myResourceLocation);
Parameters:
variant: ResourceLocation
Type: ResourceLocation
Return Type:
EntitySubPredicate
static frogVariant<V>(variant as string) as EntitySubPredicate
EntityVariantPredicate<V>.frogVariant(myString);
Parameters:
variant: string
Type: string
Return Type:
EntitySubPredicate