LightningBoltPredicate

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

Implements

LightningBoltPredicate implements the following interfaces:

EntitySubPredicate

Members

static create(blocksSetOnFire as Ints) as LightningBoltPredicate
script.zs
// LightningBoltPredicate.create(blocksSetOnFire as Ints) as LightningBoltPredicate;
LightningBoltPredicate.create(myInts);

Parameters:

Return Type: LightningBoltPredicate

static create(struckEntity as EntityPredicate) as LightningBoltPredicate
script.zs
// LightningBoltPredicate.create(struckEntity as EntityPredicate) as LightningBoltPredicate;
LightningBoltPredicate.create(myEntityPredicate);

Parameters:

struckEntity Type: EntityPredicate

Return Type: LightningBoltPredicate

static create(blocksSetOnFire as Ints, struckEntity as EntityPredicate) as LightningBoltPredicate
script.zs
// LightningBoltPredicate.create(blocksSetOnFire as Ints, struckEntity as EntityPredicate) as LightningBoltPredicate;
LightningBoltPredicate.create(myInts, myEntityPredicate);

Parameters:

Return Type: LightningBoltPredicate

static create(blockSetOnFire as Ints, struckEntity as Builder) as LightningBoltPredicate
script.zs
// LightningBoltPredicate.create(blockSetOnFire as Ints, struckEntity as Builder) as LightningBoltPredicate;
LightningBoltPredicate.create(myInts, myBuilder);

Return Type: LightningBoltPredicate