Class DamageSourcePredicate.Builder
java.lang.Object
net.minecraft.advancements.critereon.DamageSourcePredicate.Builder
- Enclosing class:
DamageSourcePredicate
-
Field Summary
Modifier and TypeFieldDescriptionprivate Optional
<EntityPredicate> private Optional
<EntityPredicate> private final com.google.common.collect.ImmutableList.Builder
<TagPredicate<DamageType>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
direct
(EntityPredicate.Builder p_25473_) isDirect
(boolean p_347549_) source
(EntityPredicate.Builder p_148232_) tag
(TagPredicate<DamageType> p_270455_)
-
Field Details
-
tags
-
directEntity
-
sourceEntity
-
isDirect
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
damageType
-
tag
-
direct
-
source
-
isDirect
-
build
-