Package net.minecraft.predicate
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 av$a
intermediary net/minecraft/class_2019$class_2020
named net/minecraft/predicate/DamagePredicate$Builder
-
Field Summary
Fields Modifier and Type Field Description private Boolean
blocked
private NumberRange.FloatRange
dealt
private EntityPredicate
sourceEntity
private NumberRange.FloatRange
taken
private DamageSourcePredicate
type
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DamagePredicate.Builder
blocked(Boolean blocked)
DamagePredicate
build()
static DamagePredicate.Builder
create()
DamagePredicate.Builder
type(DamageSourcePredicate.Builder builder)
-
Field Details
-
dealt
- Mappings:
Namespace Name Mixin selector official a
Lav$a;a:Lbz$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
- Mappings:
Namespace Name Mixin selector official b
Lav$a;b:Lbz$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
- Mappings:
Namespace Name Mixin selector official c
Lav$a;c:Lbg;
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
- Mappings:
Namespace Name Mixin selector official d
Lav$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
- Mappings:
Namespace Name Mixin selector official e
Lav$a;e:Law;
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
- Mappings:
Namespace Name Mixin selector official a
Lav$a;a()Lav$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;
-
blocked
- Mappings:
Namespace Name Mixin selector official a
Lav$a;a(Ljava/lang/Boolean;)Lav$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
Lav$a;a(Law$a;)Lav$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
- Mappings:
Namespace Name Mixin selector official b
Lav$a;b()Lav;
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;
-