Class DamagePredicate.Builder

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

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

    • dealt

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

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

      private Optional<EntityPredicate> sourceEntity
      Mappings:
      Namespace Name Mixin selector
      named sourceEntity Lnet/minecraft/predicate/DamagePredicate$Builder;sourceEntity:Ljava/util/Optional;
      intermediary field_9528 Lnet/minecraft/class_2019$class_2020;field_9528:Ljava/util/Optional;
      official c Lbk$a;c:Ljava/util/Optional;
    • blocked

      private Optional<Boolean> blocked
      Mappings:
      Namespace Name Mixin selector
      named blocked Lnet/minecraft/predicate/DamagePredicate$Builder;blocked:Ljava/util/Optional;
      intermediary field_9526 Lnet/minecraft/class_2019$class_2020;field_9526:Ljava/util/Optional;
      official d Lbk$a;d:Ljava/util/Optional;
    • type

      Mappings:
      Namespace Name Mixin selector
      named type Lnet/minecraft/predicate/DamagePredicate$Builder;type:Ljava/util/Optional;
      intermediary field_9529 Lnet/minecraft/class_2019$class_2020;field_9529:Ljava/util/Optional;
      official e Lbk$a;e:Ljava/util/Optional;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • create

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

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

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

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

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

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

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

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