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 bc$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 Lbc$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 EntityPredicate directEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbc$a;b:Lbn;
      intermediary field_9544 Lnet/minecraft/class_2022$class_2023;field_9544:Lnet/minecraft/class_2048;
      named directEntity Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;directEntity:Lnet/minecraft/predicate/entity/EntityPredicate;
    • sourceEntity

      private EntityPredicate sourceEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lbc$a;c:Lbn;
      intermediary field_9545 Lnet/minecraft/class_2022$class_2023;field_9545:Lnet/minecraft/class_2048;
      named sourceEntity Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;sourceEntity:Lnet/minecraft/predicate/entity/EntityPredicate;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • create

      public static DamageSourcePredicate.Builder create()
      Mappings:
      Namespace Name Mixin selector
      official a Lbc$a;a()Lbc$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 Lbc$a;a(Lda;)Lbc$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

      public DamageSourcePredicate.Builder directEntity(EntityPredicate entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbc$a;a(Lbn;)Lbc$a;
      intermediary method_35130 Lnet/minecraft/class_2022$class_2023;method_35130(Lnet/minecraft/class_2048;)Lnet/minecraft/class_2022$class_2023;
      named directEntity Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;directEntity(Lnet/minecraft/predicate/entity/EntityPredicate;)Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;
    • directEntity

      Mappings:
      Namespace Name Mixin selector
      official a Lbc$a;a(Lbn$a;)Lbc$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

      public DamageSourcePredicate.Builder sourceEntity(EntityPredicate entity)
      Mappings:
      Namespace Name Mixin selector
      official b Lbc$a;b(Lbn;)Lbc$a;
      intermediary method_35132 Lnet/minecraft/class_2022$class_2023;method_35132(Lnet/minecraft/class_2048;)Lnet/minecraft/class_2022$class_2023;
      named sourceEntity Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;sourceEntity(Lnet/minecraft/predicate/entity/EntityPredicate;)Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;
    • sourceEntity

      Mappings:
      Namespace Name Mixin selector
      official b Lbc$a;b(Lbn$a;)Lbc$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 Lbc$a;b()Lbc;
      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;