public static class DamageSourcePredicate.Builder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
bypassesArmor |
private java.lang.Boolean |
bypassesInvulnerability |
private java.lang.Boolean |
bypassesMagic |
private EntityPredicate |
directEntity |
private java.lang.Boolean |
field_217951_h |
private java.lang.Boolean |
isExplosion |
private java.lang.Boolean |
isFire |
private java.lang.Boolean |
isMagic |
private java.lang.Boolean |
isProjectile |
private EntityPredicate |
sourceEntity |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DamageSourcePredicate |
build() |
static DamageSourcePredicate.Builder |
damageType() |
DamageSourcePredicate.Builder |
direct(EntityPredicate.Builder p_203980_1_) |
DamageSourcePredicate.Builder |
func_217950_h(java.lang.Boolean p_217950_1_) |
DamageSourcePredicate.Builder |
isProjectile(java.lang.Boolean p_203978_1_) |
private java.lang.Boolean isProjectile
private java.lang.Boolean isExplosion
private java.lang.Boolean bypassesArmor
private java.lang.Boolean bypassesInvulnerability
private java.lang.Boolean bypassesMagic
private java.lang.Boolean isFire
private java.lang.Boolean isMagic
private java.lang.Boolean field_217951_h
private EntityPredicate directEntity
private EntityPredicate sourceEntity
public static DamageSourcePredicate.Builder damageType()
public DamageSourcePredicate.Builder isProjectile(java.lang.Boolean p_203978_1_)
public DamageSourcePredicate.Builder func_217950_h(java.lang.Boolean p_217950_1_)
public DamageSourcePredicate.Builder direct(EntityPredicate.Builder p_203980_1_)
public DamageSourcePredicate build()