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

    • isProjectile

      private Boolean isProjectile
      Mappings:
      Namespace Name Mixin selector
      official a Law$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

      private Boolean isExplosion
      Mappings:
      Namespace Name Mixin selector
      official b Law$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

      private Boolean bypassesArmor
      Mappings:
      Namespace Name Mixin selector
      official c Law$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

      private Boolean bypassesInvulnerability
      Mappings:
      Namespace Name Mixin selector
      official d Law$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

      private Boolean bypassesMagic
      Mappings:
      Namespace Name Mixin selector
      official e Law$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

      private Boolean isFire
      Mappings:
      Namespace Name Mixin selector
      official f Law$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

      private Boolean isMagic
      Mappings:
      Namespace Name Mixin selector
      official g Law$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

      private Boolean isLightning
      Mappings:
      Namespace Name Mixin selector
      official h Law$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 Law$a;i:Lbg;
      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 Law$a;j:Lbg;
      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 Law$a;a()Law$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 Law$a;a(Ljava/lang/Boolean;)Law$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;
    • lightning

      public DamageSourcePredicate.Builder lightning​(Boolean lightning)
      Mappings:
      Namespace Name Mixin selector
      official h Law$a;h(Ljava/lang/Boolean;)Law$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.Builder entity)
      Mappings:
      Namespace Name Mixin selector
      official a Law$a;a(Lbg$a;)Law$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;
    • build

      public DamageSourcePredicate build()
      Mappings:
      Namespace Name Mixin selector
      official b Law$a;b()Law;
      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;