Package net.minecraft.predicate.entity
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 Summary
Fields Modifier and Type Field Description private Boolean
bypassesArmor
private Boolean
bypassesInvulnerability
private Boolean
bypassesMagic
private EntityPredicate
directEntity
private Boolean
isExplosion
private Boolean
isFire
private Boolean
isLightning
private Boolean
isMagic
private Boolean
isProjectile
private EntityPredicate
sourceEntity
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DamageSourcePredicate
build()
static DamageSourcePredicate.Builder
create()
DamageSourcePredicate.Builder
directEntity(EntityPredicate.Builder entity)
DamageSourcePredicate.Builder
lightning(Boolean lightning)
DamageSourcePredicate.Builder
projectile(Boolean projectile)
-
Field Details
-
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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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;
-