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.
import crafttweaker.api.predicate.LightningBoltPredicate;
Implements
LightningBoltPredicate
implements the following interfaces:
Members
static any() as EntitySubPredicate
static create(blocksSetOnFire as Ints) as LighthingBoltPredicate
// LighthingBoltPredicate.create(blocksSetOnFire as IntMinMaxBoundsPredicate) as LightningBoltPredicate;LightningBoltPredicate.create(myInts);
Parameters:
blocksSetOnFire: IntMinMaxBoundsPredicate
Type: IntMinMaxBoundsPredicate
Return Type:
LightningBoltPredicate
static create(struckEntity as EntityPredicate) as LighthingBoltPredicate
LightningBoltPredicate.create(myEntityPredicate);
Parameters:
struckEntity: EntityPredicate
Type: EntityPredicate
Return Type:
LightningBoltPredicate
static create(blocksSetOnFire as Ints, struckEntity as EntityPredicate) as LighthingBoltPredicate
// LighthingBoltPredicate.create(blocksSetOnFire as IntMinMaxBoundsPredicate, struckEntity as EntityPredicate) as LightningBoltPredicate;LightningBoltPredicate.create(myInts, myEntityPredicate);
Parameters:
blocksSetOnFire: IntMinMaxBoundsPredicate
Type: IntMinMaxBoundsPredicate
struckEntity: EntityPredicate
Type: EntityPredicate
Return Type:
LightningBoltPredicate
static create(blockSetOnFire as Ints, struckEntity as Builder) as LighthingBoltPredicate
// LighthingBoltPredicate.create(blockSetOnFire as IntMinMaxBoundsPredicate, struckEntity as EntityPredicateBuilder) as LightningBoltPredicate;LightningBoltPredicate.create(myInts, myBuilder);
Parameters:
blockSetOnFire: IntMinMaxBoundsPredicate
Type: IntMinMaxBoundsPredicate
struckEntity: EntityPredicateBuilder
Type: EntityPredicateBuilder
Return Type:
LightningBoltPredicate