FishingHookPredicate

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.FishingHookPredicate;

Implements

FishingHookPredicate implements the following interfaces:

EntitySubPredicate

Members

static any() as FishingHookPredicate
script.zs
// FishingHookPredicate.any() as FishingHookPredicate;
FishingHookPredicate.any();

Return Type: FishingHookPredicate

static inOpenWaters(inOpenWaters as bool = true) as FishingHookPredicate
script.zs
// FishingHookPredicate.inOpenWaters(inOpenWaters as bool = true) as FishingHookPredicate;
FishingHookPredicate.inOpenWaters(myBool);

Parameters:

inOpenWaters (optional) Type: bool

Default Value: true

Return Type: FishingHookPredicate