Package net.minecraft.predicate.entity
Class EntityEffectPredicate
java.lang.Object
net.minecraft.predicate.entity.EntityEffectPredicate
- Mappings:
Namespace Name official ck
intermediary net/minecraft/class_2102
named net/minecraft/predicate/entity/EntityEffectPredicate
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<StatusEffect,
EntityEffectPredicate.EffectData> static final EntityEffectPredicate
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityEffectPredicate
create()
static EntityEffectPredicate
fromJson
(@Nullable JsonElement json) boolean
test
(Map<StatusEffect, StatusEffectInstance> effects) boolean
boolean
test
(LivingEntity livingEntity) toJson()
withEffect
(StatusEffect statusEffect) withEffect
(StatusEffect statusEffect, EntityEffectPredicate.EffectData data)
-
Field Details
-
EMPTY
- Mappings:
Namespace Name Mixin selector official a
Lck;a:Lck;
intermediary field_9709
Lnet/minecraft/class_2102;field_9709:Lnet/minecraft/class_2102;
named EMPTY
Lnet/minecraft/predicate/entity/EntityEffectPredicate;EMPTY:Lnet/minecraft/predicate/entity/EntityEffectPredicate;
-
effects
- Mappings:
Namespace Name Mixin selector official b
Lck;b:Ljava/util/Map;
intermediary field_9710
Lnet/minecraft/class_2102;field_9710:Ljava/util/Map;
named effects
Lnet/minecraft/predicate/entity/EntityEffectPredicate;effects:Ljava/util/Map;
-
-
Constructor Details
-
EntityEffectPredicate
- Mappings:
Namespace Name Mixin selector official <init>
Lck;<init>(Ljava/util/Map;)V
intermediary <init>
Lnet/minecraft/class_2102;<init>(Ljava/util/Map;)V
named <init>
Lnet/minecraft/predicate/entity/EntityEffectPredicate;<init>(Ljava/util/Map;)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lck;a()Lck;
intermediary method_9066
Lnet/minecraft/class_2102;method_9066()Lnet/minecraft/class_2102;
named create
Lnet/minecraft/predicate/entity/EntityEffectPredicate;create()Lnet/minecraft/predicate/entity/EntityEffectPredicate;
-
withEffect
- Mappings:
Namespace Name Mixin selector official a
Lck;a(Laxc;)Lck;
intermediary method_9065
Lnet/minecraft/class_2102;method_9065(Lnet/minecraft/class_1291;)Lnet/minecraft/class_2102;
named withEffect
Lnet/minecraft/predicate/entity/EntityEffectPredicate;withEffect(Lnet/minecraft/entity/effect/StatusEffect;)Lnet/minecraft/predicate/entity/EntityEffectPredicate;
-
withEffect
public EntityEffectPredicate withEffect(StatusEffect statusEffect, EntityEffectPredicate.EffectData data) - Mappings:
Namespace Name Mixin selector official a
Lck;a(Laxc;Lck$a;)Lck;
intermediary method_35290
Lnet/minecraft/class_2102;method_35290(Lnet/minecraft/class_1291;Lnet/minecraft/class_2102$class_2103;)Lnet/minecraft/class_2102;
named withEffect
Lnet/minecraft/predicate/entity/EntityEffectPredicate;withEffect(Lnet/minecraft/entity/effect/StatusEffect;Lnet/minecraft/predicate/entity/EntityEffectPredicate$EffectData;)Lnet/minecraft/predicate/entity/EntityEffectPredicate;
-
test
- Mappings:
Namespace Name Mixin selector official a
Lck;a(Laxk;)Z
intermediary method_9062
Lnet/minecraft/class_2102;method_9062(Lnet/minecraft/class_1297;)Z
named test
Lnet/minecraft/predicate/entity/EntityEffectPredicate;test(Lnet/minecraft/entity/Entity;)Z
-
test
- Mappings:
Namespace Name Mixin selector official a
Lck;a(Laxy;)Z
intermediary method_9067
Lnet/minecraft/class_2102;method_9067(Lnet/minecraft/class_1309;)Z
named test
Lnet/minecraft/predicate/entity/EntityEffectPredicate;test(Lnet/minecraft/entity/LivingEntity;)Z
-
test
- Mappings:
Namespace Name Mixin selector official a
Lck;a(Ljava/util/Map;)Z
intermediary method_9063
Lnet/minecraft/class_2102;method_9063(Ljava/util/Map;)Z
named test
Lnet/minecraft/predicate/entity/EntityEffectPredicate;test(Ljava/util/Map;)Z
-
fromJson
- Mappings:
Namespace Name Mixin selector official a
Lck;a(Lcom/google/gson/JsonElement;)Lck;
intermediary method_9064
Lnet/minecraft/class_2102;method_9064(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_2102;
named fromJson
Lnet/minecraft/predicate/entity/EntityEffectPredicate;fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/predicate/entity/EntityEffectPredicate;
-
toJson
- Mappings:
Namespace Name Mixin selector official b
Lck;b()Lcom/google/gson/JsonElement;
intermediary method_9068
Lnet/minecraft/class_2102;method_9068()Lcom/google/gson/JsonElement;
named toJson
Lnet/minecraft/predicate/entity/EntityEffectPredicate;toJson()Lcom/google/gson/JsonElement;
-