DamageSourcePredicateBuilder

Link to damagesourcepredicatebuilder

Diese Klasse importieren

Link to diese-klasse-importieren

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
ParameterTypeBeschreibungOptionalDefaultValue
Parameter
bypassesArmor
Type
bool?
Beschreibung
No Description Provided
Optional
true
DefaultValue
true

Link to bypassesInvulnerability

Name: bypassesInvulnerability

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.bypassesInvulnerability(bypassesInvulnerability as bool?) as DamageSourcePredicateBuilder
ParameterTypeBeschreibungOptionalDefaultValue
Parameter
bypassesInvulnerability
Type
bool?
Beschreibung
No Description Provided
Optional
true
DefaultValue
true

Name: bypassesMagic

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.bypassesMagic(bypassesMagic as bool?) as DamageSourcePredicateBuilder
ParameterTypeBeschreibungOptionalDefaultValue
Parameter
bypassesMagic
Type
bool?
Beschreibung
No Description Provided
Optional
true
DefaultValue
true

Name: direct

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.direct(entityPredicate as EntityPredicate) as DamageSourcePredicateBuilder
ParameterTypeBeschreibung
Parameter
entityPredicate
Type
EntityPredicate
Beschreibung
No Description Provided

Name: direct

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.direct(entityPredicate as EntityPredicateBuilder) as DamageSourcePredicateBuilder
ParameterTypeBeschreibung
Parameter
entityPredicate
Type
EntityPredicateBuilder
Beschreibung
No Description Provided

Name: isExplosion

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.isExplosion(isExplosion as bool?) as DamageSourcePredicateBuilder
ParameterTypeBeschreibungOptionalDefaultValue
Parameter
isExplosion
Type
bool?
Beschreibung
No Description Provided
Optional
true
DefaultValue
true

Name: isFire

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.isFire(isFire as bool?) as DamageSourcePredicateBuilder
ParameterTypeBeschreibungOptionalDefaultValue
Parameter
isFire
Type
bool?
Beschreibung
No Description Provided
Optional
true
DefaultValue
true

Name: isLightning

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.isLightning(isLightning as bool?) as DamageSourcePredicateBuilder
ParameterTypeBeschreibungOptionalDefaultValue
Parameter
isLightning
Type
bool?
Beschreibung
No Description Provided
Optional
true
DefaultValue
true

Name: isMagic

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.isMagic(isMagic as bool?) as DamageSourcePredicateBuilder
ParameterTypeBeschreibungOptionalDefaultValue
Parameter
isMagic
Type
bool?
Beschreibung
No Description Provided
Optional
true
DefaultValue
true

Name: isProjectile

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.isProjectile(isProjectile as bool?) as DamageSourcePredicateBuilder
ParameterTypeBeschreibungOptionalDefaultValue
Parameter
isProjectile
Type
bool?
Beschreibung
No Description Provided
Optional
true
DefaultValue
true

Name: source

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.source(entityPredicate as EntityPredicate) as DamageSourcePredicateBuilder
ParameterTypeBeschreibung
Parameter
entityPredicate
Type
EntityPredicate
Beschreibung
No Description Provided

Name: source

Return Type: DamageSourcePredicateBuilder

ZenScript
Copy
DamageSourcePredicateBuilder.source(entityPredicate as EntityPredicateBuilder) as DamageSourcePredicateBuilder
ParameterTypeBeschreibung
Parameter
entityPredicate
Type
EntityPredicateBuilder
Beschreibung
No Description Provided