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 bd$a
intermediary net/minecraft/class_2022$class_2023
named net/minecraft/predicate/entity/DamageSourcePredicate$Builder
  • Field Details

    • isProjectile

      @Nullable private @Nullable Boolean isProjectile
      Mappings:
      Namespace Name Mixin selector
      official a Lbd$a;a:Ljava/lang/Boolean;
      intermediary field_9547 Lnet/minecraft/class_2022$class_2023;field_9547:Ljava/lang/Boolean;
      named isProjectile Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;isProjectile:Ljava/lang/Boolean;
    • isExplosion

      @Nullable private @Nullable Boolean isExplosion
      Mappings:
      Namespace Name Mixin selector
      official b Lbd$a;b:Ljava/lang/Boolean;
      intermediary field_9546 Lnet/minecraft/class_2022$class_2023;field_9546:Ljava/lang/Boolean;
      named isExplosion Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;isExplosion:Ljava/lang/Boolean;
    • bypassesArmor

      @Nullable private @Nullable Boolean bypassesArmor
      Mappings:
      Namespace Name Mixin selector
      official c Lbd$a;c:Ljava/lang/Boolean;
      intermediary field_9548 Lnet/minecraft/class_2022$class_2023;field_9548:Ljava/lang/Boolean;
      named bypassesArmor Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;bypassesArmor:Ljava/lang/Boolean;
    • bypassesInvulnerability

      @Nullable private @Nullable Boolean bypassesInvulnerability
      Mappings:
      Namespace Name Mixin selector
      official d Lbd$a;d:Ljava/lang/Boolean;
      intermediary field_9543 Lnet/minecraft/class_2022$class_2023;field_9543:Ljava/lang/Boolean;
      named bypassesInvulnerability Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;bypassesInvulnerability:Ljava/lang/Boolean;
    • bypassesMagic

      @Nullable private @Nullable Boolean bypassesMagic
      Mappings:
      Namespace Name Mixin selector
      official e Lbd$a;e:Ljava/lang/Boolean;
      intermediary field_9542 Lnet/minecraft/class_2022$class_2023;field_9542:Ljava/lang/Boolean;
      named bypassesMagic Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;bypassesMagic:Ljava/lang/Boolean;
    • isFire

      @Nullable private @Nullable Boolean isFire
      Mappings:
      Namespace Name Mixin selector
      official f Lbd$a;f:Ljava/lang/Boolean;
      intermediary field_9549 Lnet/minecraft/class_2022$class_2023;field_9549:Ljava/lang/Boolean;
      named isFire Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;isFire:Ljava/lang/Boolean;
    • isMagic

      @Nullable private @Nullable Boolean isMagic
      Mappings:
      Namespace Name Mixin selector
      official g Lbd$a;g:Ljava/lang/Boolean;
      intermediary field_9550 Lnet/minecraft/class_2022$class_2023;field_9550:Ljava/lang/Boolean;
      named isMagic Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;isMagic:Ljava/lang/Boolean;
    • isLightning

      @Nullable private @Nullable Boolean isLightning
      Mappings:
      Namespace Name Mixin selector
      official h Lbd$a;h:Ljava/lang/Boolean;
      intermediary field_9551 Lnet/minecraft/class_2022$class_2023;field_9551:Ljava/lang/Boolean;
      named isLightning Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;isLightning:Ljava/lang/Boolean;
    • directEntity

      private EntityPredicate directEntity
      Mappings:
      Namespace Name Mixin selector
      official i Lbd$a;i:Lbo;
      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 j Lbd$a;j:Lbo;
      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 Lbd$a;a()Lbd$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;
    • projectile

      public DamageSourcePredicate.Builder projectile(Boolean projectile)
      Mappings:
      Namespace Name Mixin selector
      official a Lbd$a;a(Ljava/lang/Boolean;)Lbd$a;
      intermediary method_8852 Lnet/minecraft/class_2022$class_2023;method_8852(Ljava/lang/Boolean;)Lnet/minecraft/class_2022$class_2023;
      named projectile Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;projectile(Ljava/lang/Boolean;)Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;
    • explosion

      public DamageSourcePredicate.Builder explosion(Boolean explosion)
      Mappings:
      Namespace Name Mixin selector
      official b Lbd$a;b(Ljava/lang/Boolean;)Lbd$a;
      intermediary method_35133 Lnet/minecraft/class_2022$class_2023;method_35133(Ljava/lang/Boolean;)Lnet/minecraft/class_2022$class_2023;
      named explosion Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;explosion(Ljava/lang/Boolean;)Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;
    • bypassesArmor

      public DamageSourcePredicate.Builder bypassesArmor(Boolean bypassesArmor)
      Mappings:
      Namespace Name Mixin selector
      official c Lbd$a;c(Ljava/lang/Boolean;)Lbd$a;
      intermediary method_35134 Lnet/minecraft/class_2022$class_2023;method_35134(Ljava/lang/Boolean;)Lnet/minecraft/class_2022$class_2023;
      named bypassesArmor Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;bypassesArmor(Ljava/lang/Boolean;)Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;
    • bypassesInvulnerability

      public DamageSourcePredicate.Builder bypassesInvulnerability(Boolean bypassesInvulnerability)
      Mappings:
      Namespace Name Mixin selector
      official d Lbd$a;d(Ljava/lang/Boolean;)Lbd$a;
      intermediary method_35135 Lnet/minecraft/class_2022$class_2023;method_35135(Ljava/lang/Boolean;)Lnet/minecraft/class_2022$class_2023;
      named bypassesInvulnerability Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;bypassesInvulnerability(Ljava/lang/Boolean;)Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;
    • bypassesMagic

      public DamageSourcePredicate.Builder bypassesMagic(Boolean bypassesMagic)
      Mappings:
      Namespace Name Mixin selector
      official e Lbd$a;e(Ljava/lang/Boolean;)Lbd$a;
      intermediary method_35136 Lnet/minecraft/class_2022$class_2023;method_35136(Ljava/lang/Boolean;)Lnet/minecraft/class_2022$class_2023;
      named bypassesMagic Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;bypassesMagic(Ljava/lang/Boolean;)Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;
    • fire

      Mappings:
      Namespace Name Mixin selector
      official f Lbd$a;f(Ljava/lang/Boolean;)Lbd$a;
      intermediary method_35137 Lnet/minecraft/class_2022$class_2023;method_35137(Ljava/lang/Boolean;)Lnet/minecraft/class_2022$class_2023;
      named fire Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;fire(Ljava/lang/Boolean;)Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;
    • magic

      public DamageSourcePredicate.Builder magic(Boolean magic)
      Mappings:
      Namespace Name Mixin selector
      official g Lbd$a;g(Ljava/lang/Boolean;)Lbd$a;
      intermediary method_35138 Lnet/minecraft/class_2022$class_2023;method_35138(Ljava/lang/Boolean;)Lnet/minecraft/class_2022$class_2023;
      named magic Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;magic(Ljava/lang/Boolean;)Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;
    • lightning

      public DamageSourcePredicate.Builder lightning(Boolean lightning)
      Mappings:
      Namespace Name Mixin selector
      official h Lbd$a;h(Ljava/lang/Boolean;)Lbd$a;
      intermediary method_8853 Lnet/minecraft/class_2022$class_2023;method_8853(Ljava/lang/Boolean;)Lnet/minecraft/class_2022$class_2023;
      named lightning Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;lightning(Ljava/lang/Boolean;)Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;
    • directEntity

      public DamageSourcePredicate.Builder directEntity(EntityPredicate entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbd$a;a(Lbo;)Lbd$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 Lbd$a;a(Lbo$a;)Lbd$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 Lbd$a;b(Lbo;)Lbd$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 Lbd$a;b(Lbo$a;)Lbd$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 Lbd$a;b()Lbd;
      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;