Package net.minecraft.predicate.entity
Class DamageSourcePredicate.Builder
java.lang.Object
net.minecraft.predicate.entity.DamageSourcePredicate.Builder
- Enclosing class:
DamageSourcePredicate
- Mappings:
Namespace Name official bf$a
intermediary net/minecraft/class_2022$class_2023
named net/minecraft/predicate/entity/DamageSourcePredicate$Builder
-
Field Summary
Modifier and TypeFieldDescriptionprivate Optional<EntityPredicate>
private Optional<EntityPredicate>
private final ImmutableList.Builder<TagPredicate<DamageType>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
create()
directEntity
(EntityPredicate.Builder entity) sourceEntity
(EntityPredicate.Builder entity) tag
(TagPredicate<DamageType> tagPredicate)
-
Field Details
-
tagPredicates
- Mappings:
Namespace Name Mixin selector official a
Lbf$a;a:Lcom/google/common/collect/ImmutableList$Builder;
intermediary field_42273
Lnet/minecraft/class_2022$class_2023;field_42273:Lcom/google/common/collect/ImmutableList$Builder;
named tagPredicates
Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;tagPredicates:Lcom/google/common/collect/ImmutableList$Builder;
-
directEntity
- Mappings:
Namespace Name Mixin selector official b
Lbf$a;b:Ljava/util/Optional;
intermediary field_9544
Lnet/minecraft/class_2022$class_2023;field_9544:Ljava/util/Optional;
named directEntity
Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;directEntity:Ljava/util/Optional;
-
sourceEntity
- Mappings:
Namespace Name Mixin selector official c
Lbf$a;c:Ljava/util/Optional;
intermediary field_9545
Lnet/minecraft/class_2022$class_2023;field_9545:Ljava/util/Optional;
named sourceEntity
Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;sourceEntity:Ljava/util/Optional;
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lbf$a;a()Lbf$a;
intermediary method_8855
Lnet/minecraft/class_2022$class_2023;method_8855()Lnet/minecraft/class_2022$class_2023;
named create
Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;create()Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;
-
tag
- Mappings:
Namespace Name Mixin selector official a
Lbf$a;a(Ldc;)Lbf$a;
intermediary method_48785
Lnet/minecraft/class_2022$class_2023;method_48785(Lnet/minecraft/class_8129;)Lnet/minecraft/class_2022$class_2023;
named tag
Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;tag(Lnet/minecraft/predicate/TagPredicate;)Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;
-
directEntity
- Mappings:
Namespace Name Mixin selector official a
Lbf$a;a(Lbq$a;)Lbf$a;
intermediary method_8854
Lnet/minecraft/class_2022$class_2023;method_8854(Lnet/minecraft/class_2048$class_2049;)Lnet/minecraft/class_2022$class_2023;
named directEntity
Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;directEntity(Lnet/minecraft/predicate/entity/EntityPredicate$Builder;)Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;
-
sourceEntity
- Mappings:
Namespace Name Mixin selector official b
Lbf$a;b(Lbq$a;)Lbf$a;
intermediary method_35131
Lnet/minecraft/class_2022$class_2023;method_35131(Lnet/minecraft/class_2048$class_2049;)Lnet/minecraft/class_2022$class_2023;
named sourceEntity
Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;sourceEntity(Lnet/minecraft/predicate/entity/EntityPredicate$Builder;)Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official b
Lbf$a;b()Lbf;
intermediary method_8851
Lnet/minecraft/class_2022$class_2023;method_8851()Lnet/minecraft/class_2022;
named build
Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;build()Lnet/minecraft/predicate/entity/DamageSourcePredicate;
-