DamageSourcePredicateBuilder
Importing the class
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.
Methods
Return Type: DamageSourcePredicate
Return Type: DamageSourcePredicateBuilder
Parameter | Type | Description | Optional | DefaultValue |
---|---|---|---|---|
Parameter bypassesArmor | Type bool? | Description No Description Provided | Optional true | DefaultValue true |
Return Type: DamageSourcePredicateBuilder
Parameter | Type | Description | Optional | DefaultValue |
---|---|---|---|---|
Parameter bypassesInvulnerability | Type bool? | Description No Description Provided | Optional true | DefaultValue true |
Return Type: DamageSourcePredicateBuilder
Parameter | Type | Description | Optional | DefaultValue |
---|---|---|---|---|
Parameter bypassesMagic | Type bool? | Description No Description Provided | Optional true | DefaultValue true |
Return Type: DamageSourcePredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter entityPredicate | Type EntityPredicate | Description No Description Provided |
Return Type: DamageSourcePredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter entityPredicate | Type EntityPredicateBuilder | Description No Description Provided |
Return Type: DamageSourcePredicateBuilder
Parameter | Type | Description | Optional | DefaultValue |
---|---|---|---|---|
Parameter isExplosion | Type bool? | Description No Description Provided | Optional true | DefaultValue true |
Return Type: DamageSourcePredicateBuilder
Parameter | Type | Description | Optional | DefaultValue |
---|---|---|---|---|
Parameter isFire | Type bool? | Description No Description Provided | Optional true | DefaultValue true |
Return Type: DamageSourcePredicateBuilder
Parameter | Type | Description | Optional | DefaultValue |
---|---|---|---|---|
Parameter isLightning | Type bool? | Description No Description Provided | Optional true | DefaultValue true |
Return Type: DamageSourcePredicateBuilder
Parameter | Type | Description | Optional | DefaultValue |
---|---|---|---|---|
Parameter isMagic | Type bool? | Description No Description Provided | Optional true | DefaultValue true |
Return Type: DamageSourcePredicateBuilder
Parameter | Type | Description | Optional | DefaultValue |
---|---|---|---|---|
Parameter isProjectile | Type bool? | Description No Description Provided | Optional true | DefaultValue true |
Return Type: DamageSourcePredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter entityPredicate | Type EntityPredicate | Description No Description Provided |
Return Type: DamageSourcePredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter entityPredicate | Type EntityPredicateBuilder | Description No Description Provided |