Class DamageSourcePredicate.Builder

java.lang.Object
net.minecraft.predicate.entity.DamageSourcePredicate.Builder
Enclosing class:
DamageSourcePredicate

public static class DamageSourcePredicate.Builder extends Object
Mappings:
Namespace Name
official bf$a
intermediary net/minecraft/class_2022$class_2023
named net/minecraft/predicate/entity/DamageSourcePredicate$Builder
  • Field Details

    • tagPredicates

      private final ImmutableList.Builder<TagPredicate<DamageType>> 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

      private Optional<EntityPredicate> 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

      private Optional<EntityPredicate> 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

      public static DamageSourcePredicate.Builder 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(Ldb;)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(Lbp$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(Lbp$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

      public DamageSourcePredicate 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;