Package net.minecraft.predicate.entity
Class EntityEffectPredicate
java.lang.Object
net.minecraft.predicate.entity.EntityEffectPredicate
public class EntityEffectPredicate extends Object
- Mappings:
Namespace Name official ca
intermediary net/minecraft/class_2102
named net/minecraft/predicate/entity/EntityEffectPredicate
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EntityEffectPredicate.EffectData
-
Field Summary
Fields Modifier and Type Field Description private Map<StatusEffect,EntityEffectPredicate.EffectData>
effects
static EntityEffectPredicate
EMPTY
-
Constructor Summary
Constructors Constructor Description EntityEffectPredicate(Map<StatusEffect,EntityEffectPredicate.EffectData> effects)
-
Method Summary
Modifier and Type Method Description static EntityEffectPredicate
create()
static EntityEffectPredicate
fromJson(JsonElement json)
boolean
test(Map<StatusEffect,StatusEffectInstance> effects)
boolean
test(Entity entity)
boolean
test(LivingEntity livingEntity)
JsonElement
toJson()
EntityEffectPredicate
withEffect(StatusEffect statusEffect)
-
Field Details
-
EMPTY
- Mappings:
Namespace Name Mixin selector official a
Lca;a:Lca;
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
Lca;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>
Lca;<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
Lca;a()Lca;
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
Lca;a(Laqn;)Lca;
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;
-
test
- Mappings:
Namespace Name Mixin selector official a
Lca;a(Laqv;)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
Lca;a(Lari;)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
Lca;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
Lca;a(Lcom/google/gson/JsonElement;)Lca;
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
Lca;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;
-