Package net.minecraft.predicate.entity
Class DamageSourcePredicate
java.lang.Object
net.minecraft.predicate.entity.DamageSourcePredicate
- Mappings:
Namespace Name official bb
intermediary net/minecraft/class_2022
named net/minecraft/predicate/entity/DamageSourcePredicate
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final EntityPredicate
static final DamageSourcePredicate
private final List<class_8129<class_8110>>
private final EntityPredicate
-
Constructor Summary
ConstructorDescriptionDamageSourcePredicate
(List<class_8129<class_8110>> list, EntityPredicate entityPredicate, EntityPredicate entityPredicate2) -
Method Summary
Modifier and TypeMethodDescriptionstatic DamageSourcePredicate
fromJson
(@Nullable JsonElement json) boolean
test
(ServerPlayerEntity player, DamageSource damageSource) boolean
test
(ServerWorld world, Vec3d pos, DamageSource damageSource) toJson()
-
Field Details
-
EMPTY
- Mappings:
Namespace Name Mixin selector official a
Lbb;a:Lbb;
intermediary field_9533
Lnet/minecraft/class_2022;field_9533:Lnet/minecraft/class_2022;
named EMPTY
Lnet/minecraft/predicate/entity/DamageSourcePredicate;EMPTY:Lnet/minecraft/predicate/entity/DamageSourcePredicate;
-
field_42272
- Mappings:
Namespace Name Mixin selector official b
Lbb;b:Ljava/util/List;
intermediary field_42272
Lnet/minecraft/class_2022;field_42272:Ljava/util/List;
named field_42272
Lnet/minecraft/predicate/entity/DamageSourcePredicate;field_42272:Ljava/util/List;
-
directEntity
- Mappings:
Namespace Name Mixin selector official c
Lbb;c:Lbm;
intermediary field_9534
Lnet/minecraft/class_2022;field_9534:Lnet/minecraft/class_2048;
named directEntity
Lnet/minecraft/predicate/entity/DamageSourcePredicate;directEntity:Lnet/minecraft/predicate/entity/EntityPredicate;
-
sourceEntity
- Mappings:
Namespace Name Mixin selector official d
Lbb;d:Lbm;
intermediary field_9539
Lnet/minecraft/class_2022;field_9539:Lnet/minecraft/class_2048;
named sourceEntity
Lnet/minecraft/predicate/entity/DamageSourcePredicate;sourceEntity:Lnet/minecraft/predicate/entity/EntityPredicate;
-
-
Constructor Details
-
DamageSourcePredicate
public DamageSourcePredicate(List<class_8129<class_8110>> list, EntityPredicate entityPredicate, EntityPredicate entityPredicate2)
-
-
Method Details
-
test
- Mappings:
Namespace Name Mixin selector official a
Lbb;a(Laij;Lbee;)Z
intermediary method_8847
Lnet/minecraft/class_2022;method_8847(Lnet/minecraft/class_3222;Lnet/minecraft/class_1282;)Z
named test
Lnet/minecraft/predicate/entity/DamageSourcePredicate;test(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/damage/DamageSource;)Z
-
test
- Mappings:
Namespace Name Mixin selector official a
Lbb;a(Laii;Lecb;Lbee;)Z
intermediary method_8845
Lnet/minecraft/class_2022;method_8845(Lnet/minecraft/class_3218;Lnet/minecraft/class_243;Lnet/minecraft/class_1282;)Z
named test
Lnet/minecraft/predicate/entity/DamageSourcePredicate;test(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/entity/damage/DamageSource;)Z
-
fromJson
- Mappings:
Namespace Name Mixin selector official a
Lbb;a(Lcom/google/gson/JsonElement;)Lbb;
intermediary method_8846
Lnet/minecraft/class_2022;method_8846(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_2022;
named fromJson
Lnet/minecraft/predicate/entity/DamageSourcePredicate;fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/predicate/entity/DamageSourcePredicate;
-
toJson
- Mappings:
Namespace Name Mixin selector official a
Lbb;a()Lcom/google/gson/JsonElement;
intermediary method_8848
Lnet/minecraft/class_2022;method_8848()Lcom/google/gson/JsonElement;
named toJson
Lnet/minecraft/predicate/entity/DamageSourcePredicate;toJson()Lcom/google/gson/JsonElement;
-