Class DamagePredicate.Builder

java.lang.Object
net.minecraft.predicate.DamagePredicate.Builder
Enclosing class:
DamagePredicate

public static class DamagePredicate.Builder extends Object
Mappings:
Namespace Name
official bc$a
intermediary net/minecraft/class_2019$class_2020
named net/minecraft/predicate/DamagePredicate$Builder
  • Field Details

    • dealt

      private NumberRange.FloatRange dealt
      Mappings:
      Namespace Name Mixin selector
      official a Lbc$a;a:Lcj$c;
      intermediary field_9530 Lnet/minecraft/class_2019$class_2020;field_9530:Lnet/minecraft/class_2096$class_2099;
      named dealt Lnet/minecraft/predicate/DamagePredicate$Builder;dealt:Lnet/minecraft/predicate/NumberRange$FloatRange;
    • taken

      private NumberRange.FloatRange taken
      Mappings:
      Namespace Name Mixin selector
      official b Lbc$a;b:Lcj$c;
      intermediary field_9527 Lnet/minecraft/class_2019$class_2020;field_9527:Lnet/minecraft/class_2096$class_2099;
      named taken Lnet/minecraft/predicate/DamagePredicate$Builder;taken:Lnet/minecraft/predicate/NumberRange$FloatRange;
    • sourceEntity

      private EntityPredicate sourceEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lbc$a;c:Lbo;
      intermediary field_9528 Lnet/minecraft/class_2019$class_2020;field_9528:Lnet/minecraft/class_2048;
      named sourceEntity Lnet/minecraft/predicate/DamagePredicate$Builder;sourceEntity:Lnet/minecraft/predicate/entity/EntityPredicate;
    • blocked

      @Nullable private @Nullable Boolean blocked
      Mappings:
      Namespace Name Mixin selector
      official d Lbc$a;d:Ljava/lang/Boolean;
      intermediary field_9526 Lnet/minecraft/class_2019$class_2020;field_9526:Ljava/lang/Boolean;
      named blocked Lnet/minecraft/predicate/DamagePredicate$Builder;blocked:Ljava/lang/Boolean;
    • type

      private DamageSourcePredicate type
      Mappings:
      Namespace Name Mixin selector
      official e Lbc$a;e:Lbd;
      intermediary field_9529 Lnet/minecraft/class_2019$class_2020;field_9529:Lnet/minecraft/class_2022;
      named type Lnet/minecraft/predicate/DamagePredicate$Builder;type:Lnet/minecraft/predicate/entity/DamageSourcePredicate;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • create

      public static DamagePredicate.Builder create()
      Mappings:
      Namespace Name Mixin selector
      official a Lbc$a;a()Lbc$a;
      intermediary method_8844 Lnet/minecraft/class_2019$class_2020;method_8844()Lnet/minecraft/class_2019$class_2020;
      named create Lnet/minecraft/predicate/DamagePredicate$Builder;create()Lnet/minecraft/predicate/DamagePredicate$Builder;
    • dealt

      Mappings:
      Namespace Name Mixin selector
      official a Lbc$a;a(Lcj$c;)Lbc$a;
      intermediary method_35118 Lnet/minecraft/class_2019$class_2020;method_35118(Lnet/minecraft/class_2096$class_2099;)Lnet/minecraft/class_2019$class_2020;
      named dealt Lnet/minecraft/predicate/DamagePredicate$Builder;dealt(Lnet/minecraft/predicate/NumberRange$FloatRange;)Lnet/minecraft/predicate/DamagePredicate$Builder;
    • taken

      Mappings:
      Namespace Name Mixin selector
      official b Lbc$a;b(Lcj$c;)Lbc$a;
      intermediary method_35119 Lnet/minecraft/class_2019$class_2020;method_35119(Lnet/minecraft/class_2096$class_2099;)Lnet/minecraft/class_2019$class_2020;
      named taken Lnet/minecraft/predicate/DamagePredicate$Builder;taken(Lnet/minecraft/predicate/NumberRange$FloatRange;)Lnet/minecraft/predicate/DamagePredicate$Builder;
    • sourceEntity

      public DamagePredicate.Builder sourceEntity(EntityPredicate sourceEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbc$a;a(Lbo;)Lbc$a;
      intermediary method_35117 Lnet/minecraft/class_2019$class_2020;method_35117(Lnet/minecraft/class_2048;)Lnet/minecraft/class_2019$class_2020;
      named sourceEntity Lnet/minecraft/predicate/DamagePredicate$Builder;sourceEntity(Lnet/minecraft/predicate/entity/EntityPredicate;)Lnet/minecraft/predicate/DamagePredicate$Builder;
    • blocked

      public DamagePredicate.Builder blocked(Boolean blocked)
      Mappings:
      Namespace Name Mixin selector
      official a Lbc$a;a(Ljava/lang/Boolean;)Lbc$a;
      intermediary method_8841 Lnet/minecraft/class_2019$class_2020;method_8841(Ljava/lang/Boolean;)Lnet/minecraft/class_2019$class_2020;
      named blocked Lnet/minecraft/predicate/DamagePredicate$Builder;blocked(Ljava/lang/Boolean;)Lnet/minecraft/predicate/DamagePredicate$Builder;
    • type

      Mappings:
      Namespace Name Mixin selector
      official a Lbc$a;a(Lbd;)Lbc$a;
      intermediary method_35116 Lnet/minecraft/class_2019$class_2020;method_35116(Lnet/minecraft/class_2022;)Lnet/minecraft/class_2019$class_2020;
      named type Lnet/minecraft/predicate/DamagePredicate$Builder;type(Lnet/minecraft/predicate/entity/DamageSourcePredicate;)Lnet/minecraft/predicate/DamagePredicate$Builder;
    • type

      Mappings:
      Namespace Name Mixin selector
      official a Lbc$a;a(Lbd$a;)Lbc$a;
      intermediary method_8842 Lnet/minecraft/class_2019$class_2020;method_8842(Lnet/minecraft/class_2022$class_2023;)Lnet/minecraft/class_2019$class_2020;
      named type Lnet/minecraft/predicate/DamagePredicate$Builder;type(Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;)Lnet/minecraft/predicate/DamagePredicate$Builder;
    • build

      public DamagePredicate build()
      Mappings:
      Namespace Name Mixin selector
      official b Lbc$a;b()Lbc;
      intermediary method_8843 Lnet/minecraft/class_2019$class_2020;method_8843()Lnet/minecraft/class_2019;
      named build Lnet/minecraft/predicate/DamagePredicate$Builder;build()Lnet/minecraft/predicate/DamagePredicate;