DamageSourcePredicateBuilder

Link to damagesourcepredicatebuilder

Importare la Classe

Link to importare-la-classe

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import crafttweaker.api.predicate.builder.DamageSourcePredicateBuilder;

Name: build

Return Type: DamageSourcePredicate

ZenScript
Copy
// DamageSourcePredicateBuilder.build() as DamageSourcePredicate

myDamageSourcePredicateBuilder.build();

Name: bypassesArmor

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.bypassesArmor(bypassesArmor as bool?) as DamageSourcePredicateBuilder
ParametroTipoDescrizioneOptionalDefaultValue
Parametro
bypassesArmor
Tipo
bool?
Descrizione
No Description Provided
Optional
DefaultValue

Link to bypassesInvulnerability

Name: bypassesInvulnerability

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.bypassesInvulnerability(bypassesInvulnerability as bool?) as DamageSourcePredicateBuilder
ParametroTipoDescrizioneOptionalDefaultValue
Parametro
bypassesInvulnerability
Tipo
bool?
Descrizione
No Description Provided
Optional
DefaultValue

Name: bypassesMagic

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.bypassesMagic(bypassesMagic as bool?) as DamageSourcePredicateBuilder
ParametroTipoDescrizioneOptionalDefaultValue
Parametro
bypassesMagic
Tipo
bool?
Descrizione
No Description Provided
Optional
DefaultValue

Name: direct

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.direct(entityPredicate as EntityPredicate) as DamageSourcePredicateBuilder
ParametroTipoDescrizione
Parametro
entityPredicate
Tipo
EntityPredicate
Descrizione
No Description Provided

Name: direct

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.direct(entityPredicate as EntityPredicateBuilder) as DamageSourcePredicateBuilder
ParametroTipoDescrizione
Parametro
entityPredicate
Tipo
EntityPredicateBuilder
Descrizione
No Description Provided

Name: isExplosion

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.isExplosion(isExplosion as bool?) as DamageSourcePredicateBuilder
ParametroTipoDescrizioneOptionalDefaultValue
Parametro
isExplosion
Tipo
bool?
Descrizione
No Description Provided
Optional
DefaultValue

Name: isFire

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.isFire(isFire as bool?) as DamageSourcePredicateBuilder
ParametroTipoDescrizioneOptionalDefaultValue
Parametro
isFire
Tipo
bool?
Descrizione
No Description Provided
Optional
DefaultValue

Name: isLightning

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.isLightning(isLightning as bool?) as DamageSourcePredicateBuilder
ParametroTipoDescrizioneOptionalDefaultValue
Parametro
isLightning
Tipo
bool?
Descrizione
No Description Provided
Optional
DefaultValue

Name: isMagic

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.isMagic(isMagic as bool?) as DamageSourcePredicateBuilder
ParametroTipoDescrizioneOptionalDefaultValue
Parametro
isMagic
Tipo
bool?
Descrizione
No Description Provided
Optional
DefaultValue

Name: isProjectile

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.isProjectile(isProjectile as bool?) as DamageSourcePredicateBuilder
ParametroTipoDescrizioneOptionalDefaultValue
Parametro
isProjectile
Tipo
bool?
Descrizione
No Description Provided
Optional
DefaultValue

Name: source

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.source(entityPredicate as EntityPredicate) as DamageSourcePredicateBuilder
ParametroTipoDescrizione
Parametro
entityPredicate
Tipo
EntityPredicate
Descrizione
No Description Provided

Name: source

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.source(entityPredicate as EntityPredicateBuilder) as DamageSourcePredicateBuilder
ParametroTipoDescrizione
Parametro
entityPredicate
Tipo
EntityPredicateBuilder
Descrizione
No Description Provided