Class DamagePredicate.Builder
java.lang.Object
net.minecraft.advancements.critereon.DamagePredicate.Builder
- Enclosing class:
- DamagePredicate
-
Field Summary
Modifier and TypeFieldDescriptionprivate MinMaxBounds.Doubles
private Optional<EntityPredicate>
private MinMaxBounds.Doubles
private Optional<DamageSourcePredicate>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static DamagePredicate.Builder
dealtDamage
(MinMaxBounds.Doubles p_148146_) sourceEntity
(EntityPredicate p_148144_) takenDamage
(MinMaxBounds.Doubles p_148148_) type
(DamageSourcePredicate p_148142_) type
(DamageSourcePredicate.Builder p_24933_)
-
Field Details
-
dealtDamage
-
takenDamage
-
sourceEntity
-
blocked
-
type
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
damageInstance
-
dealtDamage
-
takenDamage
-
sourceEntity
-
blocked
-
type
-
type
-
build
-