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 Copyimport crafttweaker.api.predicate.builder.DamageSourcePredicateBuilder;
Metodi
Link to metodi
Name: build
Return Type: DamageSourcePredicate
ZenScript Copy// DamageSourcePredicateBuilder.build() as DamageSourcePredicate
myDamageSourcePredicateBuilder.build();
Name: bypassesArmor
Return Type: DamageSourcePredicateBuilder
ZenScript CopyDamageSourcePredicateBuilder.bypassesArmor(bypassesArmor as bool?) as DamageSourcePredicateBuilder
Parametro | Tipo | Descrizione | Optional | DefaultValue |
---|---|---|---|---|
Parametro bypassesArmor | Tipo bool? | Descrizione No Description Provided | Optional sì | DefaultValue sì |
Name: bypassesInvulnerability
Return Type: DamageSourcePredicateBuilder
ZenScript CopyDamageSourcePredicateBuilder.bypassesInvulnerability(bypassesInvulnerability as bool?) as DamageSourcePredicateBuilder
Parametro | Tipo | Descrizione | Optional | DefaultValue |
---|---|---|---|---|
Parametro bypassesInvulnerability | Tipo bool? | Descrizione No Description Provided | Optional sì | DefaultValue sì |
Name: bypassesMagic
Return Type: DamageSourcePredicateBuilder
ZenScript CopyDamageSourcePredicateBuilder.bypassesMagic(bypassesMagic as bool?) as DamageSourcePredicateBuilder
Parametro | Tipo | Descrizione | Optional | DefaultValue |
---|---|---|---|---|
Parametro bypassesMagic | Tipo bool? | Descrizione No Description Provided | Optional sì | DefaultValue sì |
Name: direct
Return Type: DamageSourcePredicateBuilder
ZenScript CopyDamageSourcePredicateBuilder.direct(entityPredicate as EntityPredicate) as DamageSourcePredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro entityPredicate | Tipo EntityPredicate | Descrizione No Description Provided |
Name: direct
Return Type: DamageSourcePredicateBuilder
ZenScript CopyDamageSourcePredicateBuilder.direct(entityPredicate as EntityPredicateBuilder) as DamageSourcePredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro entityPredicate | Tipo EntityPredicateBuilder | Descrizione No Description Provided |
Name: isExplosion
Return Type: DamageSourcePredicateBuilder
ZenScript CopyDamageSourcePredicateBuilder.isExplosion(isExplosion as bool?) as DamageSourcePredicateBuilder
Parametro | Tipo | Descrizione | Optional | DefaultValue |
---|---|---|---|---|
Parametro isExplosion | Tipo bool? | Descrizione No Description Provided | Optional sì | DefaultValue sì |
Name: isFire
Return Type: DamageSourcePredicateBuilder
ZenScript CopyDamageSourcePredicateBuilder.isFire(isFire as bool?) as DamageSourcePredicateBuilder
Parametro | Tipo | Descrizione | Optional | DefaultValue |
---|---|---|---|---|
Parametro isFire | Tipo bool? | Descrizione No Description Provided | Optional sì | DefaultValue sì |
Name: isLightning
Return Type: DamageSourcePredicateBuilder
ZenScript CopyDamageSourcePredicateBuilder.isLightning(isLightning as bool?) as DamageSourcePredicateBuilder
Parametro | Tipo | Descrizione | Optional | DefaultValue |
---|---|---|---|---|
Parametro isLightning | Tipo bool? | Descrizione No Description Provided | Optional sì | DefaultValue sì |
Name: isMagic
Return Type: DamageSourcePredicateBuilder
ZenScript CopyDamageSourcePredicateBuilder.isMagic(isMagic as bool?) as DamageSourcePredicateBuilder
Parametro | Tipo | Descrizione | Optional | DefaultValue |
---|---|---|---|---|
Parametro isMagic | Tipo bool? | Descrizione No Description Provided | Optional sì | DefaultValue sì |
Name: isProjectile
Return Type: DamageSourcePredicateBuilder
ZenScript CopyDamageSourcePredicateBuilder.isProjectile(isProjectile as bool?) as DamageSourcePredicateBuilder
Parametro | Tipo | Descrizione | Optional | DefaultValue |
---|---|---|---|---|
Parametro isProjectile | Tipo bool? | Descrizione No Description Provided | Optional sì | DefaultValue sì |
Name: source
Return Type: DamageSourcePredicateBuilder
ZenScript CopyDamageSourcePredicateBuilder.source(entityPredicate as EntityPredicate) as DamageSourcePredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro entityPredicate | Tipo EntityPredicate | Descrizione No Description Provided |
Name: source
Return Type: DamageSourcePredicateBuilder
ZenScript CopyDamageSourcePredicateBuilder.source(entityPredicate as EntityPredicateBuilder) as DamageSourcePredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro entityPredicate | Tipo EntityPredicateBuilder | Descrizione No Description Provided |